Package org.lwjgl.vulkan
Class VkDrawIndexedIndirectCommand.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkDrawIndexedIndirectCommand,VkDrawIndexedIndirectCommand.Buffer>
-
- org.lwjgl.vulkan.VkDrawIndexedIndirectCommand.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkDrawIndexedIndirectCommand>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkDrawIndexedIndirectCommand
public static class VkDrawIndexedIndirectCommand.Buffer extends org.lwjgl.system.StructBuffer<VkDrawIndexedIndirectCommand,VkDrawIndexedIndirectCommand.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkDrawIndexedIndirectCommand
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
firstIndex()
Returns the value of thefirstIndex
field.VkDrawIndexedIndirectCommand.Buffer
firstIndex(int value)
Sets the specified value to thefirstIndex
field.int
firstInstance()
Returns the value of thefirstInstance
field.VkDrawIndexedIndirectCommand.Buffer
firstInstance(int value)
Sets the specified value to thefirstInstance
field.int
indexCount()
Returns the value of theindexCount
field.VkDrawIndexedIndirectCommand.Buffer
indexCount(int value)
Sets the specified value to theindexCount
field.int
instanceCount()
Returns the value of theinstanceCount
field.VkDrawIndexedIndirectCommand.Buffer
instanceCount(int value)
Sets the specified value to theinstanceCount
field.int
vertexOffset()
Returns the value of thevertexOffset
field.VkDrawIndexedIndirectCommand.Buffer
vertexOffset(int value)
Sets the specified value to thevertexOffset
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkDrawIndexedIndirectCommand.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 byVkDrawIndexedIndirectCommand.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
-
indexCount
public int indexCount()
Returns the value of theindexCount
field.
-
instanceCount
public int instanceCount()
Returns the value of theinstanceCount
field.
-
firstIndex
public int firstIndex()
Returns the value of thefirstIndex
field.
-
vertexOffset
public int vertexOffset()
Returns the value of thevertexOffset
field.
-
firstInstance
public int firstInstance()
Returns the value of thefirstInstance
field.
-
indexCount
public VkDrawIndexedIndirectCommand.Buffer indexCount(int value)
Sets the specified value to theindexCount
field.
-
instanceCount
public VkDrawIndexedIndirectCommand.Buffer instanceCount(int value)
Sets the specified value to theinstanceCount
field.
-
firstIndex
public VkDrawIndexedIndirectCommand.Buffer firstIndex(int value)
Sets the specified value to thefirstIndex
field.
-
vertexOffset
public VkDrawIndexedIndirectCommand.Buffer vertexOffset(int value)
Sets the specified value to thevertexOffset
field.
-
firstInstance
public VkDrawIndexedIndirectCommand.Buffer firstInstance(int value)
Sets the specified value to thefirstInstance
field.
-
-