Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkIndirectCommandsLayoutTokenNV

extends Struct<VkIndirectCommandsLayoutTokenNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Struct specifying the details of an indirect command layout token.
Valid Usage
Valid Usage (Implicit)
See Also

VkIndirectCommandsLayoutCreateInfoNV

Layout


struct VkIndirectCommandsLayoutTokenNV {
    VkStructureType sType;
    void const * pNext;
    VkIndirectCommandsTokenTypeNV tokenType;
    uint32_t stream;
    uint32_t offset;
    uint32_t vertexBindingUnit;
    VkBool32 vertexDynamicStride;
    VkPipelineLayout pushconstantPipelineLayout;
    VkShaderStageFlags pushconstantShaderStageFlags;
    uint32_t pushconstantOffset;
    uint32_t pushconstantSize;
    VkIndirectStateFlagsNV indirectStateFlags;
    uint32_t indexTypeCount;
    VkIndexType const * pIndexTypes;
    uint32_t const * pIndexTypeValues;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
INDEXTYPECOUNT

The struct member offsets.

public static final int
INDIRECTSTATEFLAGS

The struct member offsets.

public static final int
OFFSET

The struct member offsets.

public static final int
PINDEXTYPES

The struct member offsets.

public static final int
PINDEXTYPEVALUES

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PUSHCONSTANTOFFSET

The struct member offsets.

public static final int
PUSHCONSTANTPIPELINELAYOUT

The struct member offsets.

public static final int
PUSHCONSTANTSHADERSTAGEFLAGS

The struct member offsets.

public static final int
PUSHCONSTANTSIZE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STREAM

The struct member offsets.

public static final int
STYPE

The struct member offsets.

public static final int
TOKENTYPE

The struct member offsets.

public static final int
VERTEXBINDINGUNIT

The struct member offsets.

public static final int
VERTEXDYNAMICSTRIDE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkIndirectCommandsLayoutTokenNV(ByteBuffer container)

Creates a VkIndirectCommandsLayoutTokenNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkIndirectCommandsLayoutTokenNV
calloc()

Returns a new VkIndirectCommandsLayoutTokenNV instance allocated with memCalloc.

public static VkIndirectCommandsLayoutTokenNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkIndirectCommandsLayoutTokenNV.Buffer instance allocated with memCalloc.

public static VkIndirectCommandsLayoutTokenNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkIndirectCommandsLayoutTokenNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkIndirectCommandsLayoutTokenNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkIndirectCommandsLayoutTokenNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkIndirectCommandsLayoutTokenNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkIndirectCommandsLayoutTokenNV
create()

Returns a new VkIndirectCommandsLayoutTokenNV instance allocated with BufferUtils.

public static VkIndirectCommandsLayoutTokenNV
create(long address)

Returns a new VkIndirectCommandsLayoutTokenNV instance for the specified memory address.

public static VkIndirectCommandsLayoutTokenNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkIndirectCommandsLayoutTokenNV.Buffer instance allocated with BufferUtils.

public static VkIndirectCommandsLayoutTokenNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkIndirectCommandsLayoutTokenNV.Buffer instance at the specified memory.

public static VkIndirectCommandsLayoutTokenNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkIndirectCommandsLayoutTokenNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
indexTypeCount()

the optional size of the pIndexTypes and pIndexTypeValues array pairings.

public VkIndirectCommandsLayoutTokenNV
indexTypeCount(int value)

Sets the specified value to the indexTypeCount field.

public int
indirectStateFlags()

are the active states for the state flag command.

public VkIndirectCommandsLayoutTokenNV
indirectStateFlags(int value)

Sets the specified value to the indirectStateFlags field.

public static VkIndirectCommandsLayoutTokenNV
malloc()

Returns a new VkIndirectCommandsLayoutTokenNV instance allocated with memAlloc.

public static VkIndirectCommandsLayoutTokenNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkIndirectCommandsLayoutTokenNV.Buffer instance allocated with memAlloc.

public static VkIndirectCommandsLayoutTokenNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkIndirectCommandsLayoutTokenNV instance allocated on the specified MemoryStack.

public static VkIndirectCommandsLayoutTokenNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkIndirectCommandsLayoutTokenNV.Buffer instance allocated on the specified MemoryStack.

public static int
nindexTypeCount(long struct)

Unsafe version of indexTypeCount.

public static void
nindexTypeCount(long struct, int value)

Sets the specified value to the indexTypeCount field of the specified struct.

public static int
nindirectStateFlags(long struct)

Unsafe version of indirectStateFlags.

public static void
nindirectStateFlags(long struct, int value)

Unsafe version of indirectStateFlags.

public static int
noffset(long struct)

Unsafe version of offset.

public static void
noffset(long struct, int value)

Unsafe version of offset.

public static IntBuffer
npIndexTypes(long struct)

Unsafe version of pIndexTypes.

public static void
npIndexTypes(long struct, IntBuffer value)

Unsafe version of pIndexTypes.

public static IntBuffer
npIndexTypeValues(long struct)

Unsafe version of pIndexTypeValues.

public static void
npIndexTypeValues(long struct, IntBuffer value)

Unsafe version of pIndexTypeValues.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
npushconstantOffset(long struct)

Unsafe version of pushconstantOffset.

public static void
npushconstantOffset(long struct, int value)

Unsafe version of pushconstantOffset.

public static long
public static void
npushconstantPipelineLayout(long struct, long value)

Unsafe version of pushconstantPipelineLayout.

public static int
public static void
npushconstantShaderStageFlags(long struct, int value)

Unsafe version of pushconstantShaderStageFlags.

public static int
npushconstantSize(long struct)

Unsafe version of pushconstantSize.

public static void
npushconstantSize(long struct, int value)

Unsafe version of pushconstantSize.

public static int
nstream$(long struct)

Unsafe version of stream$.

public static void
nstream$(long struct, int value)

Unsafe version of stream$.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
ntokenType(long struct)

Unsafe version of tokenType.

public static void
ntokenType(long struct, int value)

Unsafe version of tokenType.

public static int
nvertexBindingUnit(long struct)

Unsafe version of vertexBindingUnit.

public static void
nvertexBindingUnit(long struct, int value)

Unsafe version of vertexBindingUnit.

public static int
nvertexDynamicStride(long struct)

Unsafe version of vertexDynamicStride.

public static void
nvertexDynamicStride(long struct, int value)

Unsafe version of vertexDynamicStride.

public int
offset()

a relative starting offset within the input stream memory for the token argument data.

public VkIndirectCommandsLayoutTokenNV
offset(int value)

Sets the specified value to the offset field.

public IntBuffer
pIndexTypes()

the used VkIndexType for the corresponding uint32_t value entry in pIndexTypeValues.

public VkIndirectCommandsLayoutTokenNV
pIndexTypes(IntBuffer value)

Sets the address of the specified IntBuffer to the pIndexTypes field.

public IntBuffer

Returns:

a IntBuffer view of the data pointed to by the pIndexTypeValues field.
pIndexTypeValues
()

public VkIndirectCommandsLayoutTokenNV
pIndexTypeValues(IntBuffer value)

Sets the address of the specified IntBuffer to the pIndexTypeValues field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkIndirectCommandsLayoutTokenNV
pNext(long value)

Sets the specified value to the pNext field.

public int
pushconstantOffset()

the offset used for the push constant command.

public VkIndirectCommandsLayoutTokenNV
pushconstantOffset(int value)

Sets the specified value to the pushconstantOffset field.

public long
pushconstantPipelineLayout()

the VkPipelineLayout used for the push constant command.

public VkIndirectCommandsLayoutTokenNV
pushconstantPipelineLayout(long value)

Sets the specified value to the pushconstantPipelineLayout field.

public int
pushconstantShaderStageFlags()

are the shader stage flags used for the push constant command.

public VkIndirectCommandsLayoutTokenNV
pushconstantShaderStageFlags(int value)

Sets the specified value to the pushconstantShaderStageFlags field.

public int
pushconstantSize()

the size used for the push constant command.

public VkIndirectCommandsLayoutTokenNV
pushconstantSize(int value)

Sets the specified value to the pushconstantSize field.

public VkIndirectCommandsLayoutTokenNV
set(int sType, long pNext, int tokenType, int stream$, int offset, int vertexBindingUnit, boolean vertexDynamicStride, long pushconstantPipelineLayout, int pushconstantShaderStageFlags, int pushconstantOffset, int pushconstantSize, int indirectStateFlags, int indexTypeCount, IntBuffer pIndexTypes, IntBuffer pIndexTypeValues)

Initializes this struct with the specified values.

public VkIndirectCommandsLayoutTokenNV

Returns:

this struct
set
(VkIndirectCommandsLayoutTokenNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
stream$()

the index of the input stream containing the token argument data.

public VkIndirectCommandsLayoutTokenNV
stream$(int value)

Sets the specified value to the stream$ field.

public int
sType()

a VkStructureType value identifying this structure.

public VkIndirectCommandsLayoutTokenNV
sType(int value)

Sets the specified value to the sType field.

public VkIndirectCommandsLayoutTokenNV
public int
tokenType()

specifies the token command type.

public VkIndirectCommandsLayoutTokenNV
tokenType(int value)

Sets the specified value to the tokenType field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int
vertexBindingUnit()

used for the vertex buffer binding command.

public VkIndirectCommandsLayoutTokenNV
vertexBindingUnit(int value)

Sets the specified value to the vertexBindingUnit field.

public boolean
vertexDynamicStride()

sets if the vertex buffer stride is provided by the binding command rather than the current bound graphics pipeline state.

public VkIndirectCommandsLayoutTokenNV
vertexDynamicStride(boolean value)

Sets the specified value to the vertexDynamicStride field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate