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 ofVkWriteDescriptorSetstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescriptorCount()Returns the value of thedescriptorCountfield.VkWriteDescriptorSet.BufferdescriptorCount(int value)Sets the specified value to thedescriptorCountfield.intdescriptorType()Returns the value of thedescriptorTypefield.VkWriteDescriptorSet.BufferdescriptorType(int value)Sets the specified value to thedescriptorTypefield.intdstArrayElement()Returns the value of thedstArrayElementfield.VkWriteDescriptorSet.BufferdstArrayElement(int value)Sets the specified value to thedstArrayElementfield.intdstBinding()Returns the value of thedstBindingfield.VkWriteDescriptorSet.BufferdstBinding(int value)Sets the specified value to thedstBindingfield.longdstSet()Returns the value of thedstSetfield.VkWriteDescriptorSet.BufferdstSet(long value)Sets the specified value to thedstSetfield.VkDescriptorBufferInfo.BufferpBufferInfo()Returns aVkDescriptorBufferInfo.Bufferview of the struct array pointed to by thepBufferInfofield.VkWriteDescriptorSet.BufferpBufferInfo(VkDescriptorBufferInfo.Buffer value)Sets the address of the specifiedVkDescriptorBufferInfo.Bufferto thepBufferInfofield.VkDescriptorImageInfo.BufferpImageInfo()Returns aVkDescriptorImageInfo.Bufferview of the struct array pointed to by thepImageInfofield.VkWriteDescriptorSet.BufferpImageInfo(VkDescriptorImageInfo.Buffer value)Sets the address of the specifiedVkDescriptorImageInfo.Bufferto thepImageInfofield.longpNext()Returns the value of thepNextfield.VkWriteDescriptorSet.BufferpNext(long value)Sets the specified value to thepNextfield.java.nio.LongBufferpTexelBufferView()Returns aLongBufferview of the data pointed to by thepTexelBufferViewfield.VkWriteDescriptorSet.BufferpTexelBufferView(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepTexelBufferViewfield.intsType()Returns the value of thesTypefield.VkWriteDescriptorSet.BuffersType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkWriteDescriptorSet.Bufferinstance 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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
dstSet
public long dstSet()
Returns the value of thedstSetfield.
-
dstBinding
public int dstBinding()
Returns the value of thedstBindingfield.
-
dstArrayElement
public int dstArrayElement()
Returns the value of thedstArrayElementfield.
-
descriptorCount
public int descriptorCount()
Returns the value of thedescriptorCountfield.
-
descriptorType
public int descriptorType()
Returns the value of thedescriptorTypefield.
-
pImageInfo
@Nullable public VkDescriptorImageInfo.Buffer pImageInfo()
Returns aVkDescriptorImageInfo.Bufferview of the struct array pointed to by thepImageInfofield.
-
pBufferInfo
@Nullable public VkDescriptorBufferInfo.Buffer pBufferInfo()
Returns aVkDescriptorBufferInfo.Bufferview of the struct array pointed to by thepBufferInfofield.
-
pTexelBufferView
@Nullable public java.nio.LongBuffer pTexelBufferView()
Returns aLongBufferview of the data pointed to by thepTexelBufferViewfield.
-
sType
public VkWriteDescriptorSet.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
dstSet
public VkWriteDescriptorSet.Buffer dstSet(long value)
Sets the specified value to thedstSetfield.
-
dstBinding
public VkWriteDescriptorSet.Buffer dstBinding(int value)
Sets the specified value to thedstBindingfield.
-
dstArrayElement
public VkWriteDescriptorSet.Buffer dstArrayElement(int value)
Sets the specified value to thedstArrayElementfield.
-
descriptorCount
public VkWriteDescriptorSet.Buffer descriptorCount(int value)
Sets the specified value to thedescriptorCountfield.
-
descriptorType
public VkWriteDescriptorSet.Buffer descriptorType(int value)
Sets the specified value to thedescriptorTypefield.
-
pImageInfo
public VkWriteDescriptorSet.Buffer pImageInfo(@Nullable VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Bufferto thepImageInfofield.
-
pBufferInfo
public VkWriteDescriptorSet.Buffer pBufferInfo(@Nullable VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Bufferto thepBufferInfofield.
-
pTexelBufferView
public VkWriteDescriptorSet.Buffer pTexelBufferView(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepTexelBufferViewfield.
-
-