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 ofVkDescriptorSetLayoutBindingstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbinding()VkDescriptorSetLayoutBinding.Bufferbinding(int value)Sets the specified value to theVkDescriptorSetLayoutBinding.binding()field.intdescriptorCount()VkDescriptorSetLayoutBinding.BufferdescriptorCount(int value)Sets the specified value to theVkDescriptorSetLayoutBinding.descriptorCount()field.intdescriptorType()VkDescriptorSetLayoutBinding.BufferdescriptorType(int value)Sets the specified value to theVkDescriptorSetLayoutBinding.descriptorType()field.java.nio.LongBufferpImmutableSamplers()VkDescriptorSetLayoutBinding.BufferpImmutableSamplers(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto theVkDescriptorSetLayoutBinding.pImmutableSamplers()field.intstageFlags()VkDescriptorSetLayoutBinding.BufferstageFlags(int value)Sets the specified value to theVkDescriptorSetLayoutBinding.stageFlags()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkDescriptorSetLayoutBinding.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 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 the
VkDescriptorSetLayoutBinding.binding()field.
-
descriptorType
public int descriptorType()
- Returns:
- the value of the
VkDescriptorSetLayoutBinding.descriptorType()field.
-
descriptorCount
public int descriptorCount()
- Returns:
- the value of the
VkDescriptorSetLayoutBinding.descriptorCount()field.
-
stageFlags
public int stageFlags()
- Returns:
- the value of the
VkDescriptorSetLayoutBinding.stageFlags()field.
-
pImmutableSamplers
@Nullable public java.nio.LongBuffer pImmutableSamplers()
- Returns:
- a
LongBufferview of the data pointed to by theVkDescriptorSetLayoutBinding.pImmutableSamplers()field.
-
binding
public VkDescriptorSetLayoutBinding.Buffer binding(int value)
Sets the specified value to theVkDescriptorSetLayoutBinding.binding()field.
-
descriptorType
public VkDescriptorSetLayoutBinding.Buffer descriptorType(int value)
Sets the specified value to theVkDescriptorSetLayoutBinding.descriptorType()field.
-
descriptorCount
public VkDescriptorSetLayoutBinding.Buffer descriptorCount(int value)
Sets the specified value to theVkDescriptorSetLayoutBinding.descriptorCount()field.
-
stageFlags
public VkDescriptorSetLayoutBinding.Buffer stageFlags(int value)
Sets the specified value to theVkDescriptorSetLayoutBinding.stageFlags()field.
-
pImmutableSamplers
public VkDescriptorSetLayoutBinding.Buffer pImmutableSamplers(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theVkDescriptorSetLayoutBinding.pImmutableSamplers()field.
-
-