Package org.lwjgl.vulkan
Class VkIndirectCommandsLayoutTokenNVX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkIndirectCommandsLayoutTokenNVX,VkIndirectCommandsLayoutTokenNVX.Buffer>
-
- org.lwjgl.vulkan.VkIndirectCommandsLayoutTokenNVX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkIndirectCommandsLayoutTokenNVX>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkIndirectCommandsLayoutTokenNVX
public static class VkIndirectCommandsLayoutTokenNVX.Buffer extends org.lwjgl.system.StructBuffer<VkIndirectCommandsLayoutTokenNVX,VkIndirectCommandsLayoutTokenNVX.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkIndirectCommandsLayoutTokenNVX
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bindingUnit()
Returns the value of thebindingUnit
field.VkIndirectCommandsLayoutTokenNVX.Buffer
bindingUnit(int value)
Sets the specified value to thebindingUnit
field.int
divisor()
Returns the value of thedivisor
field.VkIndirectCommandsLayoutTokenNVX.Buffer
divisor(int value)
Sets the specified value to thedivisor
field.int
dynamicCount()
Returns the value of thedynamicCount
field.VkIndirectCommandsLayoutTokenNVX.Buffer
dynamicCount(int value)
Sets the specified value to thedynamicCount
field.int
tokenType()
Returns the value of thetokenType
field.VkIndirectCommandsLayoutTokenNVX.Buffer
tokenType(int value)
Sets the specified value to thetokenType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkIndirectCommandsLayoutTokenNVX.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 byVkIndirectCommandsLayoutTokenNVX.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
-
tokenType
public int tokenType()
Returns the value of thetokenType
field.
-
bindingUnit
public int bindingUnit()
Returns the value of thebindingUnit
field.
-
dynamicCount
public int dynamicCount()
Returns the value of thedynamicCount
field.
-
divisor
public int divisor()
Returns the value of thedivisor
field.
-
tokenType
public VkIndirectCommandsLayoutTokenNVX.Buffer tokenType(int value)
Sets the specified value to thetokenType
field.
-
bindingUnit
public VkIndirectCommandsLayoutTokenNVX.Buffer bindingUnit(int value)
Sets the specified value to thebindingUnit
field.
-
dynamicCount
public VkIndirectCommandsLayoutTokenNVX.Buffer dynamicCount(int value)
Sets the specified value to thedynamicCount
field.
-
divisor
public VkIndirectCommandsLayoutTokenNVX.Buffer divisor(int value)
Sets the specified value to thedivisor
field.
-
-