Package org.lwjgl.vulkan
Class VkIndirectCommandsLayoutTokenNV.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkIndirectCommandsLayoutTokenNV,VkIndirectCommandsLayoutTokenNV.Buffer>
-
- org.lwjgl.vulkan.VkIndirectCommandsLayoutTokenNV.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkIndirectCommandsLayoutTokenNV>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkIndirectCommandsLayoutTokenNV
public static class VkIndirectCommandsLayoutTokenNV.Buffer extends org.lwjgl.system.StructBuffer<VkIndirectCommandsLayoutTokenNV,VkIndirectCommandsLayoutTokenNV.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkIndirectCommandsLayoutTokenNVstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkIndirectCommandsLayoutTokenNV.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 byVkIndirectCommandsLayoutTokenNV.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
-
sType
public int sType()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.pNext()field.
-
tokenType
public int tokenType()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.tokenType()field.
-
stream$
public int stream$()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.stream$()field.
-
offset
public int offset()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.offset()field.
-
vertexBindingUnit
public int vertexBindingUnit()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.vertexBindingUnit()field.
-
vertexDynamicStride
public boolean vertexDynamicStride()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.vertexDynamicStride()field.
-
pushconstantPipelineLayout
public long pushconstantPipelineLayout()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.pushconstantPipelineLayout()field.
-
pushconstantShaderStageFlags
public int pushconstantShaderStageFlags()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.pushconstantShaderStageFlags()field.
-
pushconstantOffset
public int pushconstantOffset()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.pushconstantOffset()field.
-
pushconstantSize
public int pushconstantSize()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.pushconstantSize()field.
-
indirectStateFlags
public int indirectStateFlags()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.indirectStateFlags()field.
-
indexTypeCount
public int indexTypeCount()
- Returns:
- the value of the
VkIndirectCommandsLayoutTokenNV.indexTypeCount()field.
-
pIndexTypes
@Nullable public java.nio.IntBuffer pIndexTypes()
- Returns:
- a
IntBufferview of the data pointed to by theVkIndirectCommandsLayoutTokenNV.pIndexTypes()field.
-
pIndexTypeValues
@Nullable public java.nio.IntBuffer pIndexTypeValues()
- Returns:
- a
IntBufferview of the data pointed to by thepIndexTypeValuesfield.
-
sType
public VkIndirectCommandsLayoutTokenNV.Buffer sType(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.sType()field.
-
sType$Default
public VkIndirectCommandsLayoutTokenNV.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NVvalue to theVkIndirectCommandsLayoutTokenNV.sType()field.
-
pNext
public VkIndirectCommandsLayoutTokenNV.Buffer pNext(long value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pNext()field.
-
tokenType
public VkIndirectCommandsLayoutTokenNV.Buffer tokenType(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.tokenType()field.
-
stream$
public VkIndirectCommandsLayoutTokenNV.Buffer stream$(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.stream$()field.
-
offset
public VkIndirectCommandsLayoutTokenNV.Buffer offset(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.offset()field.
-
vertexBindingUnit
public VkIndirectCommandsLayoutTokenNV.Buffer vertexBindingUnit(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexBindingUnit()field.
-
vertexDynamicStride
public VkIndirectCommandsLayoutTokenNV.Buffer vertexDynamicStride(boolean value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexDynamicStride()field.
-
pushconstantPipelineLayout
public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantPipelineLayout(long value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantPipelineLayout()field.
-
pushconstantShaderStageFlags
public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantShaderStageFlags(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantShaderStageFlags()field.
-
pushconstantOffset
public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantOffset(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantOffset()field.
-
pushconstantSize
public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantSize(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantSize()field.
-
indirectStateFlags
public VkIndirectCommandsLayoutTokenNV.Buffer indirectStateFlags(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indirectStateFlags()field.
-
indexTypeCount
public VkIndirectCommandsLayoutTokenNV.Buffer indexTypeCount(int value)
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indexTypeCount()field.
-
pIndexTypes
public VkIndirectCommandsLayoutTokenNV.Buffer pIndexTypes(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkIndirectCommandsLayoutTokenNV.pIndexTypes()field.
-
pIndexTypeValues
public VkIndirectCommandsLayoutTokenNV.Buffer pIndexTypeValues(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepIndexTypeValuesfield.
-
-