Package org.lwjgl.vulkan
Class VkIndirectCommandsLayoutTokenNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkIndirectCommandsLayoutTokenNV.Buffer>
org.lwjgl.system.StructBuffer<VkIndirectCommandsLayoutTokenNV,VkIndirectCommandsLayoutTokenNV.Buffer>
org.lwjgl.vulkan.VkIndirectCommandsLayoutTokenNV.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
VkIndirectCommandsLayoutTokenNV structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkIndirectCommandsLayoutTokenNV.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintindexTypeCount(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indexTypeCount()field.intindirectStateFlags(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indirectStateFlags()field.intoffset()offset(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.offset()field.@Nullable IntBufferpIndexTypes(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto theVkIndirectCommandsLayoutTokenNV.pIndexTypes()field.@Nullable IntBufferpIndexTypeValues(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepIndexTypeValuesfield.longpNext()pNext(long value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pNext()field.intpushconstantOffset(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantOffset()field.longpushconstantPipelineLayout(long value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantPipelineLayout()field.intpushconstantShaderStageFlags(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantShaderStageFlags()field.intpushconstantSize(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantSize()field.intstream$()stream$(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.stream$()field.intsType()sType(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.sType()field.Sets theSTRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NVvalue to theVkIndirectCommandsLayoutTokenNV.sType()field.inttokenType(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.tokenType()field.intvertexBindingUnit(int value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexBindingUnit()field.booleanvertexDynamicStride(boolean value) Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexDynamicStride()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
VkIndirectCommandsLayoutTokenNV.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 Details
-
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
- Returns:
- a
IntBufferview of the data pointed to by theVkIndirectCommandsLayoutTokenNV.pIndexTypes()field.
-
pIndexTypeValues
- Returns:
- a
IntBufferview of the data pointed to by thepIndexTypeValuesfield.
-
sType
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.sType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NVvalue to theVkIndirectCommandsLayoutTokenNV.sType()field. -
pNext
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pNext()field. -
tokenType
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.tokenType()field. -
stream$
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.stream$()field. -
offset
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.offset()field. -
vertexBindingUnit
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexBindingUnit()field. -
vertexDynamicStride
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.vertexDynamicStride()field. -
pushconstantPipelineLayout
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantPipelineLayout()field. -
pushconstantShaderStageFlags
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantShaderStageFlags()field. -
pushconstantOffset
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantOffset()field. -
pushconstantSize
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.pushconstantSize()field. -
indirectStateFlags
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indirectStateFlags()field. -
indexTypeCount
Sets the specified value to theVkIndirectCommandsLayoutTokenNV.indexTypeCount()field. -
pIndexTypes
Sets the address of the specifiedIntBufferto theVkIndirectCommandsLayoutTokenNV.pIndexTypes()field. -
pIndexTypeValues
Sets the address of the specifiedIntBufferto thepIndexTypeValuesfield.
-