public static class VkWriteDescriptorSet.Buffer extends org.lwjgl.system.StructBuffer<VkWriteDescriptorSet,VkWriteDescriptorSet.Buffer> implements org.lwjgl.system.NativeResource
VkWriteDescriptorSet structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkWriteDescriptorSet.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. |
VkWriteDescriptorSet.Buffer |
descriptorCount(int value)
Sets the specified value to the
descriptorCount field. |
int |
descriptorType()
Returns the value of the
descriptorType field. |
VkWriteDescriptorSet.Buffer |
descriptorType(int value)
Sets the specified value to the
descriptorType field. |
int |
dstArrayElement()
Returns the value of the
dstArrayElement field. |
VkWriteDescriptorSet.Buffer |
dstArrayElement(int value)
Sets the specified value to the
dstArrayElement field. |
int |
dstBinding()
Returns the value of the
dstBinding field. |
VkWriteDescriptorSet.Buffer |
dstBinding(int value)
Sets the specified value to the
dstBinding field. |
long |
dstSet()
Returns the value of the
dstSet field. |
VkWriteDescriptorSet.Buffer |
dstSet(long value)
Sets the specified value to the
dstSet field. |
VkDescriptorBufferInfo.Buffer |
pBufferInfo()
Returns a
VkDescriptorBufferInfo.Buffer view of the struct array pointed to by the pBufferInfo field. |
VkWriteDescriptorSet.Buffer |
pBufferInfo(VkDescriptorBufferInfo.Buffer value)
Sets the address of the specified
VkDescriptorBufferInfo.Buffer to the pBufferInfo field. |
VkDescriptorImageInfo.Buffer |
pImageInfo()
Returns a
VkDescriptorImageInfo.Buffer view of the struct array pointed to by the pImageInfo field. |
VkWriteDescriptorSet.Buffer |
pImageInfo(VkDescriptorImageInfo.Buffer value)
Sets the address of the specified
VkDescriptorImageInfo.Buffer to the pImageInfo field. |
long |
pNext()
Returns the value of the
pNext field. |
VkWriteDescriptorSet.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.LongBuffer |
pTexelBufferView()
Returns a
LongBuffer view of the data pointed to by the pTexelBufferView field. |
VkWriteDescriptorSet.Buffer |
pTexelBufferView(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pTexelBufferView field. |
int |
sType()
Returns the value of the
sType field. |
VkWriteDescriptorSet.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkWriteDescriptorSet.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 VkWriteDescriptorSet.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 sType()
sType field.public long pNext()
pNext field.public long dstSet()
dstSet field.public int dstBinding()
dstBinding field.public int dstArrayElement()
dstArrayElement field.public int descriptorCount()
descriptorCount field.public int descriptorType()
descriptorType field.@Nullable public VkDescriptorImageInfo.Buffer pImageInfo()
VkDescriptorImageInfo.Buffer view of the struct array pointed to by the pImageInfo field.@Nullable public VkDescriptorBufferInfo.Buffer pBufferInfo()
VkDescriptorBufferInfo.Buffer view of the struct array pointed to by the pBufferInfo field.@Nullable public java.nio.LongBuffer pTexelBufferView()
LongBuffer view of the data pointed to by the pTexelBufferView field.public VkWriteDescriptorSet.Buffer sType(int value)
sType field.public VkWriteDescriptorSet.Buffer pNext(long value)
pNext field.public VkWriteDescriptorSet.Buffer dstSet(long value)
dstSet field.public VkWriteDescriptorSet.Buffer dstBinding(int value)
dstBinding field.public VkWriteDescriptorSet.Buffer dstArrayElement(int value)
dstArrayElement field.public VkWriteDescriptorSet.Buffer descriptorCount(int value)
descriptorCount field.public VkWriteDescriptorSet.Buffer descriptorType(int value)
descriptorType field.public VkWriteDescriptorSet.Buffer pImageInfo(@Nullable VkDescriptorImageInfo.Buffer value)
VkDescriptorImageInfo.Buffer to the pImageInfo field.public VkWriteDescriptorSet.Buffer pBufferInfo(@Nullable VkDescriptorBufferInfo.Buffer value)
VkDescriptorBufferInfo.Buffer to the pBufferInfo field.public VkWriteDescriptorSet.Buffer pTexelBufferView(@Nullable java.nio.LongBuffer value)
LongBuffer to the pTexelBufferView field.Copyright LWJGL. All Rights Reserved. License terms.