Package org.lwjgl.vulkan
Class VkWriteDescriptorSet.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkWriteDescriptorSet,VkWriteDescriptorSet.Buffer>
-
- org.lwjgl.vulkan.VkWriteDescriptorSet.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkWriteDescriptorSet
public static final class VkWriteDescriptorSet.Buffer extends StructBuffer<VkWriteDescriptorSet,VkWriteDescriptorSet.Buffer>
An array ofVkWriteDescriptorSet
structs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newVkWriteDescriptorSet.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
descriptorCount()
Returns the value of thedescriptorCount
field.int
descriptorType()
Returns the value of thedescriptorType
field.VkWriteDescriptorSet.Buffer
descriptorType(int value)
Sets the specified value to thedescriptorType
field.int
dstArrayElement()
Returns the value of thedstArrayElement
field.VkWriteDescriptorSet.Buffer
dstArrayElement(int value)
Sets the specified value to thedstArrayElement
field.int
dstBinding()
Returns the value of thedstBinding
field.VkWriteDescriptorSet.Buffer
dstBinding(int value)
Sets the specified value to thedstBinding
field.long
dstSet()
Returns the value of thedstSet
field.VkWriteDescriptorSet.Buffer
dstSet(long value)
Sets the specified value to thedstSet
field.VkDescriptorBufferInfo.Buffer
pBufferInfo()
Returns aVkDescriptorBufferInfo.Buffer
view of the struct array pointed to by thepBufferInfo
field.VkWriteDescriptorSet.Buffer
pBufferInfo(VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Buffer
to thepBufferInfo
field.VkDescriptorImageInfo.Buffer
pImageInfo()
Returns aVkDescriptorImageInfo.Buffer
view of the struct array pointed to by thepImageInfo
field.VkWriteDescriptorSet.Buffer
pImageInfo(VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Buffer
to thepImageInfo
field.long
pNext()
Returns the value of thepNext
field.VkWriteDescriptorSet.Buffer
pNext(long value)
Sets the specified value to thepNext
field.java.nio.LongBuffer
pTexelBufferView()
Returns aLongBuffer
view of the data pointed to by thepTexelBufferView
field.VkWriteDescriptorSet.Buffer
pTexelBufferView(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepTexelBufferView
field.int
sType()
Returns the value of thesType
field.VkWriteDescriptorSet.Buffer
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkWriteDescriptorSet.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 byVkWriteDescriptorSet.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
dstSet
public long dstSet()
Returns the value of thedstSet
field.
-
dstBinding
public int dstBinding()
Returns the value of thedstBinding
field.
-
dstArrayElement
public int dstArrayElement()
Returns the value of thedstArrayElement
field.
-
descriptorCount
public int descriptorCount()
Returns the value of thedescriptorCount
field.
-
descriptorType
public int descriptorType()
Returns the value of thedescriptorType
field.
-
pImageInfo
public VkDescriptorImageInfo.Buffer pImageInfo()
Returns aVkDescriptorImageInfo.Buffer
view of the struct array pointed to by thepImageInfo
field.
-
pBufferInfo
public VkDescriptorBufferInfo.Buffer pBufferInfo()
Returns aVkDescriptorBufferInfo.Buffer
view of the struct array pointed to by thepBufferInfo
field.
-
pTexelBufferView
public java.nio.LongBuffer pTexelBufferView()
Returns aLongBuffer
view of the data pointed to by thepTexelBufferView
field.
-
sType
public VkWriteDescriptorSet.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
dstSet
public VkWriteDescriptorSet.Buffer dstSet(long value)
Sets the specified value to thedstSet
field.
-
dstBinding
public VkWriteDescriptorSet.Buffer dstBinding(int value)
Sets the specified value to thedstBinding
field.
-
dstArrayElement
public VkWriteDescriptorSet.Buffer dstArrayElement(int value)
Sets the specified value to thedstArrayElement
field.
-
descriptorType
public VkWriteDescriptorSet.Buffer descriptorType(int value)
Sets the specified value to thedescriptorType
field.
-
pImageInfo
public VkWriteDescriptorSet.Buffer pImageInfo(VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Buffer
to thepImageInfo
field.
-
pBufferInfo
public VkWriteDescriptorSet.Buffer pBufferInfo(VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Buffer
to thepBufferInfo
field.
-
pTexelBufferView
public VkWriteDescriptorSet.Buffer pTexelBufferView(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepTexelBufferView
field.
-
-