Package org.lwjgl.vulkan
Class VkDescriptorSetLayoutBinding.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkDescriptorSetLayoutBinding,VkDescriptorSetLayoutBinding.Buffer>
-
- org.lwjgl.vulkan.VkDescriptorSetLayoutBinding.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkDescriptorSetLayoutBinding>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkDescriptorSetLayoutBinding
public static class VkDescriptorSetLayoutBinding.Buffer extends org.lwjgl.system.StructBuffer<VkDescriptorSetLayoutBinding,VkDescriptorSetLayoutBinding.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkDescriptorSetLayoutBinding
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
binding()
Returns the value of thebinding
field.VkDescriptorSetLayoutBinding.Buffer
binding(int value)
Sets the specified value to thebinding
field.int
descriptorCount()
Returns the value of thedescriptorCount
field.VkDescriptorSetLayoutBinding.Buffer
descriptorCount(int value)
Sets the specified value to thedescriptorCount
field.int
descriptorType()
Returns the value of thedescriptorType
field.VkDescriptorSetLayoutBinding.Buffer
descriptorType(int value)
Sets the specified value to thedescriptorType
field.java.nio.LongBuffer
pImmutableSamplers()
Returns aLongBuffer
view of the data pointed to by thepImmutableSamplers
field.VkDescriptorSetLayoutBinding.Buffer
pImmutableSamplers(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepImmutableSamplers
field.int
stageFlags()
Returns the value of thestageFlags
field.VkDescriptorSetLayoutBinding.Buffer
stageFlags(int value)
Sets the specified value to thestageFlags
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkDescriptorSetLayoutBinding.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 byVkDescriptorSetLayoutBinding.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
-
binding
public int binding()
Returns the value of thebinding
field.
-
descriptorType
public int descriptorType()
Returns the value of thedescriptorType
field.
-
descriptorCount
public int descriptorCount()
Returns the value of thedescriptorCount
field.
-
stageFlags
public int stageFlags()
Returns the value of thestageFlags
field.
-
pImmutableSamplers
@Nullable public java.nio.LongBuffer pImmutableSamplers()
Returns aLongBuffer
view of the data pointed to by thepImmutableSamplers
field.
-
binding
public VkDescriptorSetLayoutBinding.Buffer binding(int value)
Sets the specified value to thebinding
field.
-
descriptorType
public VkDescriptorSetLayoutBinding.Buffer descriptorType(int value)
Sets the specified value to thedescriptorType
field.
-
descriptorCount
public VkDescriptorSetLayoutBinding.Buffer descriptorCount(int value)
Sets the specified value to thedescriptorCount
field.
-
stageFlags
public VkDescriptorSetLayoutBinding.Buffer stageFlags(int value)
Sets the specified value to thestageFlags
field.
-
pImmutableSamplers
public VkDescriptorSetLayoutBinding.Buffer pImmutableSamplers(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepImmutableSamplers
field.
-
-