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 ofVkIndirectCommandsLayoutTokenNVXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbindingUnit()Returns the value of thebindingUnitfield.VkIndirectCommandsLayoutTokenNVX.BufferbindingUnit(int value)Sets the specified value to thebindingUnitfield.intdivisor()Returns the value of thedivisorfield.VkIndirectCommandsLayoutTokenNVX.Bufferdivisor(int value)Sets the specified value to thedivisorfield.intdynamicCount()Returns the value of thedynamicCountfield.VkIndirectCommandsLayoutTokenNVX.BufferdynamicCount(int value)Sets the specified value to thedynamicCountfield.inttokenType()Returns the value of thetokenTypefield.VkIndirectCommandsLayoutTokenNVX.BuffertokenType(int value)Sets the specified value to thetokenTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkIndirectCommandsLayoutTokenNVX.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 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 thetokenTypefield.
-
bindingUnit
public int bindingUnit()
Returns the value of thebindingUnitfield.
-
dynamicCount
public int dynamicCount()
Returns the value of thedynamicCountfield.
-
divisor
public int divisor()
Returns the value of thedivisorfield.
-
tokenType
public VkIndirectCommandsLayoutTokenNVX.Buffer tokenType(int value)
Sets the specified value to thetokenTypefield.
-
bindingUnit
public VkIndirectCommandsLayoutTokenNVX.Buffer bindingUnit(int value)
Sets the specified value to thebindingUnitfield.
-
dynamicCount
public VkIndirectCommandsLayoutTokenNVX.Buffer dynamicCount(int value)
Sets the specified value to thedynamicCountfield.
-
divisor
public VkIndirectCommandsLayoutTokenNVX.Buffer divisor(int value)
Sets the specified value to thedivisorfield.
-
-