public static class MOUSEINPUT.Buffer extends org.lwjgl.system.StructBuffer<MOUSEINPUT,MOUSEINPUT.Buffer> implements org.lwjgl.system.NativeResource
MOUSEINPUT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
MOUSEINPUT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
dwExtraInfo()
Returns the value of the
dwExtraInfo field. |
MOUSEINPUT.Buffer |
dwExtraInfo(long value)
Sets the specified value to the
dwExtraInfo field. |
int |
dwFlags()
Returns the value of the
dwFlags field. |
MOUSEINPUT.Buffer |
dwFlags(int value)
Sets the specified value to the
dwFlags field. |
int |
dx()
Returns the value of the
dx field. |
MOUSEINPUT.Buffer |
dx(int value)
Sets the specified value to the
dx field. |
int |
dy()
Returns the value of the
dy field. |
MOUSEINPUT.Buffer |
dy(int value)
Sets the specified value to the
dy field. |
int |
mouseData()
Returns the value of the
mouseData field. |
MOUSEINPUT.Buffer |
mouseData(int value)
Sets the specified value to the
mouseData field. |
int |
time()
Returns the value of the
time field. |
MOUSEINPUT.Buffer |
time(int value)
Sets the specified value to the
time field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
MOUSEINPUT.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by MOUSEINPUT.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int dx()
dx field.public int dy()
dy field.public int mouseData()
mouseData field.public int dwFlags()
dwFlags field.public int time()
time field.public long dwExtraInfo()
dwExtraInfo field.public MOUSEINPUT.Buffer dx(int value)
dx field.public MOUSEINPUT.Buffer dy(int value)
dy field.public MOUSEINPUT.Buffer mouseData(int value)
mouseData field.public MOUSEINPUT.Buffer dwFlags(int value)
dwFlags field.public MOUSEINPUT.Buffer time(int value)
time field.public MOUSEINPUT.Buffer dwExtraInfo(long value)
dwExtraInfo field.Copyright LWJGL. All Rights Reserved. License terms.