public static class VkPushConstantRange.Buffer extends org.lwjgl.system.StructBuffer<VkPushConstantRange,VkPushConstantRange.Buffer> implements org.lwjgl.system.NativeResource
VkPushConstantRange structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPushConstantRange.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
offset()
Returns the value of the
offset field. |
VkPushConstantRange.Buffer |
offset(int value)
Sets the specified value to the
offset field. |
int |
size()
Returns the value of the
size field. |
VkPushConstantRange.Buffer |
size(int value)
Sets the specified value to the
size field. |
int |
stageFlags()
Returns the value of the
stageFlags field. |
VkPushConstantRange.Buffer |
stageFlags(int value)
Sets the specified value to the
stageFlags field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPushConstantRange.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 VkPushConstantRange.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 stageFlags()
stageFlags field.public int offset()
offset field.public int size()
size field.public VkPushConstantRange.Buffer stageFlags(int value)
stageFlags field.public VkPushConstantRange.Buffer offset(int value)
offset field.public VkPushConstantRange.Buffer size(int value)
size field.Copyright LWJGL. All Rights Reserved. License terms.