Package org.lwjgl.vulkan
Class VkWriteDescriptorSet.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkWriteDescriptorSet,VkWriteDescriptorSet.Buffer>
-
- org.lwjgl.vulkan.VkWriteDescriptorSet.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkWriteDescriptorSet>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkWriteDescriptorSet
public static class VkWriteDescriptorSet.Buffer extends org.lwjgl.system.StructBuffer<VkWriteDescriptorSet,VkWriteDescriptorSet.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkWriteDescriptorSet
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
descriptorCount()
Returns the value of thedescriptorCount
field.VkWriteDescriptorSet.Buffer
descriptorCount(int value)
Sets the specified value to 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.
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
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
@Nullable public VkDescriptorImageInfo.Buffer pImageInfo()
Returns aVkDescriptorImageInfo.Buffer
view of the struct array pointed to by thepImageInfo
field.
-
pBufferInfo
@Nullable public VkDescriptorBufferInfo.Buffer pBufferInfo()
Returns aVkDescriptorBufferInfo.Buffer
view of the struct array pointed to by thepBufferInfo
field.
-
pTexelBufferView
@Nullable 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.
-
descriptorCount
public VkWriteDescriptorSet.Buffer descriptorCount(int value)
Sets the specified value to thedescriptorCount
field.
-
descriptorType
public VkWriteDescriptorSet.Buffer descriptorType(int value)
Sets the specified value to thedescriptorType
field.
-
pImageInfo
public VkWriteDescriptorSet.Buffer pImageInfo(@Nullable VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Buffer
to thepImageInfo
field.
-
pBufferInfo
public VkWriteDescriptorSet.Buffer pBufferInfo(@Nullable VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Buffer
to thepBufferInfo
field.
-
pTexelBufferView
public VkWriteDescriptorSet.Buffer pTexelBufferView(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepTexelBufferView
field.
-
-