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 ofVkWriteDescriptorSetstructs.
-
-
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.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intdescriptorCount()Returns the value of 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.-
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.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.
-
-
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
public VkDescriptorImageInfo.Buffer pImageInfo()
Returns aVkDescriptorImageInfo.Bufferview of the struct array pointed to by thepImageInfofield.
-
pBufferInfo
public VkDescriptorBufferInfo.Buffer pBufferInfo()
Returns aVkDescriptorBufferInfo.Bufferview of the struct array pointed to by thepBufferInfofield.
-
pTexelBufferView
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.
-
descriptorType
public VkWriteDescriptorSet.Buffer descriptorType(int value)
Sets the specified value to thedescriptorTypefield.
-
pImageInfo
public VkWriteDescriptorSet.Buffer pImageInfo(VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Bufferto thepImageInfofield.
-
pBufferInfo
public VkWriteDescriptorSet.Buffer pBufferInfo(VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Bufferto thepBufferInfofield.
-
pTexelBufferView
public VkWriteDescriptorSet.Buffer pTexelBufferView(java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepTexelBufferViewfield.
-
-