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