public static class INPUT.Buffer extends org.lwjgl.system.StructBuffer<INPUT,INPUT.Buffer> implements org.lwjgl.system.NativeResource
INPUT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
INPUT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
HARDWAREINPUT |
DUMMYUNIONNAME_hi()
Returns a
HARDWAREINPUT view of the DUMMYUNIONNAME.hi field. |
INPUT.Buffer |
DUMMYUNIONNAME_hi(java.util.function.Consumer<HARDWAREINPUT> consumer)
Passes the
DUMMYUNIONNAME.hi field to the specified Consumer. |
INPUT.Buffer |
DUMMYUNIONNAME_hi(HARDWAREINPUT value)
Copies the specified
HARDWAREINPUT to the DUMMYUNIONNAME.hi field. |
KEYBDINPUT |
DUMMYUNIONNAME_ki()
Returns a
KEYBDINPUT view of the DUMMYUNIONNAME.ki field. |
INPUT.Buffer |
DUMMYUNIONNAME_ki(java.util.function.Consumer<KEYBDINPUT> consumer)
Passes the
DUMMYUNIONNAME.ki field to the specified Consumer. |
INPUT.Buffer |
DUMMYUNIONNAME_ki(KEYBDINPUT value)
Copies the specified
KEYBDINPUT to the DUMMYUNIONNAME.ki field. |
MOUSEINPUT |
DUMMYUNIONNAME_mi()
Returns a
MOUSEINPUT view of the DUMMYUNIONNAME.mi field. |
INPUT.Buffer |
DUMMYUNIONNAME_mi(java.util.function.Consumer<MOUSEINPUT> consumer)
Passes the
DUMMYUNIONNAME.mi field to the specified Consumer. |
INPUT.Buffer |
DUMMYUNIONNAME_mi(MOUSEINPUT value)
Copies the specified
MOUSEINPUT to the DUMMYUNIONNAME.mi field. |
int |
type()
Returns the value of the
type field. |
INPUT.Buffer |
type(int value)
Sets the specified value to the
type field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
INPUT.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 INPUT.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 type()
type field.public MOUSEINPUT DUMMYUNIONNAME_mi()
MOUSEINPUT view of the DUMMYUNIONNAME.mi field.public KEYBDINPUT DUMMYUNIONNAME_ki()
KEYBDINPUT view of the DUMMYUNIONNAME.ki field.public HARDWAREINPUT DUMMYUNIONNAME_hi()
HARDWAREINPUT view of the DUMMYUNIONNAME.hi field.public INPUT.Buffer type(int value)
type field.public INPUT.Buffer DUMMYUNIONNAME_mi(MOUSEINPUT value)
MOUSEINPUT to the DUMMYUNIONNAME.mi field.public INPUT.Buffer DUMMYUNIONNAME_mi(java.util.function.Consumer<MOUSEINPUT> consumer)
DUMMYUNIONNAME.mi field to the specified Consumer.public INPUT.Buffer DUMMYUNIONNAME_ki(KEYBDINPUT value)
KEYBDINPUT to the DUMMYUNIONNAME.ki field.public INPUT.Buffer DUMMYUNIONNAME_ki(java.util.function.Consumer<KEYBDINPUT> consumer)
DUMMYUNIONNAME.ki field to the specified Consumer.public INPUT.Buffer DUMMYUNIONNAME_hi(HARDWAREINPUT value)
HARDWAREINPUT to the DUMMYUNIONNAME.hi field.public INPUT.Buffer DUMMYUNIONNAME_hi(java.util.function.Consumer<HARDWAREINPUT> consumer)
DUMMYUNIONNAME.hi field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.