public static class WINDOWPLACEMENT.Buffer extends org.lwjgl.system.StructBuffer<WINDOWPLACEMENT,WINDOWPLACEMENT.Buffer> implements org.lwjgl.system.NativeResource
WINDOWPLACEMENT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
WINDOWPLACEMENT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
flags()
Returns the value of the
flags field. |
WINDOWPLACEMENT.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
length()
Returns the value of the
length field. |
WINDOWPLACEMENT.Buffer |
length(int value)
Sets the specified value to the
length field. |
POINT |
ptMaxPosition()
Returns a
POINT view of the ptMaxPosition field. |
WINDOWPLACEMENT.Buffer |
ptMaxPosition(java.util.function.Consumer<POINT> consumer)
Passes the
ptMaxPosition field to the specified Consumer. |
WINDOWPLACEMENT.Buffer |
ptMaxPosition(POINT value)
Copies the specified
POINT to the ptMaxPosition field. |
POINT |
ptMinPosition()
Returns a
POINT view of the ptMinPosition field. |
WINDOWPLACEMENT.Buffer |
ptMinPosition(java.util.function.Consumer<POINT> consumer)
Passes the
ptMinPosition field to the specified Consumer. |
WINDOWPLACEMENT.Buffer |
ptMinPosition(POINT value)
Copies the specified
POINT to the ptMinPosition field. |
RECT |
rcNormalPosition()
Returns a
RECT view of the rcNormalPosition field. |
WINDOWPLACEMENT.Buffer |
rcNormalPosition(java.util.function.Consumer<RECT> consumer)
Passes the
rcNormalPosition field to the specified Consumer. |
WINDOWPLACEMENT.Buffer |
rcNormalPosition(RECT value)
Copies the specified
RECT to the rcNormalPosition field. |
int |
showCmd()
Returns the value of the
showCmd field. |
WINDOWPLACEMENT.Buffer |
showCmd(int value)
Sets the specified value to the
showCmd field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
WINDOWPLACEMENT.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 WINDOWPLACEMENT.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 length()
length field.public int flags()
flags field.public int showCmd()
showCmd field.public WINDOWPLACEMENT.Buffer length(int value)
length field.public WINDOWPLACEMENT.Buffer flags(int value)
flags field.public WINDOWPLACEMENT.Buffer showCmd(int value)
showCmd field.public WINDOWPLACEMENT.Buffer ptMinPosition(POINT value)
POINT to the ptMinPosition field.public WINDOWPLACEMENT.Buffer ptMinPosition(java.util.function.Consumer<POINT> consumer)
ptMinPosition field to the specified Consumer.public WINDOWPLACEMENT.Buffer ptMaxPosition(POINT value)
POINT to the ptMaxPosition field.public WINDOWPLACEMENT.Buffer ptMaxPosition(java.util.function.Consumer<POINT> consumer)
ptMaxPosition field to the specified Consumer.public WINDOWPLACEMENT.Buffer rcNormalPosition(RECT value)
RECT to the rcNormalPosition field.public WINDOWPLACEMENT.Buffer rcNormalPosition(java.util.function.Consumer<RECT> consumer)
rcNormalPosition field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.