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
-
-
-
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 the
VkWriteDescriptorSet.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkWriteDescriptorSet.pNext()field.
-
dstSet
public long dstSet()
- Returns:
- the value of the
VkWriteDescriptorSet.dstSet()field.
-
dstBinding
public int dstBinding()
- Returns:
- the value of the
VkWriteDescriptorSet.dstBinding()field.
-
dstArrayElement
public int dstArrayElement()
- Returns:
- the value of the
VkWriteDescriptorSet.dstArrayElement()field.
-
descriptorCount
public int descriptorCount()
- Returns:
- the value of the
VkWriteDescriptorSet.descriptorCount()field.
-
descriptorType
public int descriptorType()
- Returns:
- the value of the
VkWriteDescriptorSet.descriptorType()field.
-
pImageInfo
@Nullable public VkDescriptorImageInfo.Buffer pImageInfo()
- Returns:
- a
VkDescriptorImageInfo.Bufferview of the struct array pointed to by theVkWriteDescriptorSet.pImageInfo()field.
-
pBufferInfo
@Nullable public VkDescriptorBufferInfo.Buffer pBufferInfo()
- Returns:
- a
VkDescriptorBufferInfo.Bufferview of the struct array pointed to by theVkWriteDescriptorSet.pBufferInfo()field.
-
pTexelBufferView
@Nullable public java.nio.LongBuffer pTexelBufferView()
- Returns:
- a
LongBufferview of the data pointed to by theVkWriteDescriptorSet.pTexelBufferView()field.
-
sType
public VkWriteDescriptorSet.Buffer sType(int value)
Sets the specified value to theVkWriteDescriptorSet.sType()field.
-
sType$Default
public VkWriteDescriptorSet.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_WRITE_DESCRIPTOR_SETvalue to theVkWriteDescriptorSet.sType()field.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(long value)
Sets the specified value to theVkWriteDescriptorSet.pNext()field.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(VkWriteDescriptorSetAccelerationStructureKHR value)
Prepends the specifiedVkWriteDescriptorSetAccelerationStructureKHRvalue to thepNextchain.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(VkWriteDescriptorSetAccelerationStructureNV value)
Prepends the specifiedVkWriteDescriptorSetAccelerationStructureNVvalue to thepNextchain.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(VkWriteDescriptorSetInlineUniformBlock value)
Prepends the specifiedVkWriteDescriptorSetInlineUniformBlockvalue to thepNextchain.
-
pNext
public VkWriteDescriptorSet.Buffer pNext(VkWriteDescriptorSetInlineUniformBlockEXT value)
Prepends the specifiedVkWriteDescriptorSetInlineUniformBlockEXTvalue to thepNextchain.
-
dstSet
public VkWriteDescriptorSet.Buffer dstSet(long value)
Sets the specified value to theVkWriteDescriptorSet.dstSet()field.
-
dstBinding
public VkWriteDescriptorSet.Buffer dstBinding(int value)
Sets the specified value to theVkWriteDescriptorSet.dstBinding()field.
-
dstArrayElement
public VkWriteDescriptorSet.Buffer dstArrayElement(int value)
Sets the specified value to theVkWriteDescriptorSet.dstArrayElement()field.
-
descriptorCount
public VkWriteDescriptorSet.Buffer descriptorCount(int value)
Sets the specified value to theVkWriteDescriptorSet.descriptorCount()field.
-
descriptorType
public VkWriteDescriptorSet.Buffer descriptorType(int value)
Sets the specified value to theVkWriteDescriptorSet.descriptorType()field.
-
pImageInfo
public VkWriteDescriptorSet.Buffer pImageInfo(@Nullable VkDescriptorImageInfo.Buffer value)
Sets the address of the specifiedVkDescriptorImageInfo.Bufferto theVkWriteDescriptorSet.pImageInfo()field.
-
pBufferInfo
public VkWriteDescriptorSet.Buffer pBufferInfo(@Nullable VkDescriptorBufferInfo.Buffer value)
Sets the address of the specifiedVkDescriptorBufferInfo.Bufferto theVkWriteDescriptorSet.pBufferInfo()field.
-
pTexelBufferView
public VkWriteDescriptorSet.Buffer pTexelBufferView(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theVkWriteDescriptorSet.pTexelBufferView()field.
-
-