Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkGeneratedCommandsInfoNV

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

Structure specifying parameters for the generation of commands.
Valid Usage
Valid Usage (Implicit)
See Also

VkIndirectCommandsStreamNV, CmdExecuteGeneratedCommandsNV, CmdPreprocessGeneratedCommandsNV

Layout


struct VkGeneratedCommandsInfoNV {
    VkStructureType sType;
    void const * pNext;
    VkPipelineBindPoint pipelineBindPoint;
    VkPipeline pipeline;
    VkIndirectCommandsLayoutNV indirectCommandsLayout;
    uint32_t streamCount;
    VkIndirectCommandsStreamNV const * pStreams;
    uint32_t sequencesCount;
    VkBuffer preprocessBuffer;
    VkDeviceSize preprocessOffset;
    VkDeviceSize preprocessSize;
    VkBuffer sequencesCountBuffer;
    VkDeviceSize sequencesCountOffset;
    VkBuffer sequencesIndexBuffer;
    VkDeviceSize sequencesIndexOffset;
}

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
INDIRECTCOMMANDSLAYOUT

The struct member offsets.

public static final int
PIPELINE

The struct member offsets.

public static final int
PIPELINEBINDPOINT

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PREPROCESSBUFFER

The struct member offsets.

public static final int
PREPROCESSOFFSET

The struct member offsets.

public static final int
PREPROCESSSIZE

The struct member offsets.

public static final int
PSTREAMS

The struct member offsets.

public static final int
SEQUENCESCOUNT

The struct member offsets.

public static final int
SEQUENCESCOUNTBUFFER

The struct member offsets.

public static final int
SEQUENCESCOUNTOFFSET

The struct member offsets.

public static final int
SEQUENCESINDEXBUFFER

The struct member offsets.

public static final int
SEQUENCESINDEXOFFSET

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STREAMCOUNT

The struct member offsets.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkGeneratedCommandsInfoNV(long address, ByteBuffer container)

public
VkGeneratedCommandsInfoNV(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkGeneratedCommandsInfoNV
calloc()

Returns a new VkGeneratedCommandsInfoNV instance allocated with memCalloc.

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

Returns a new VkGeneratedCommandsInfoNV.Buffer instance allocated with memCalloc.

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

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

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

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

protected VkGeneratedCommandsInfoNV
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 VkGeneratedCommandsInfoNV
create()

Returns a new VkGeneratedCommandsInfoNV instance allocated with BufferUtils.

public static VkGeneratedCommandsInfoNV
create(long address)

Returns a new VkGeneratedCommandsInfoNV instance for the specified memory address.

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

Returns a new VkGeneratedCommandsInfoNV.Buffer instance allocated with BufferUtils.

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

Create a VkGeneratedCommandsInfoNV.Buffer instance at the specified memory.

public static VkGeneratedCommandsInfoNV
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public long
indirectCommandsLayout()

the VkIndirectCommandsLayoutNV that provides the command sequence to generate.

public VkGeneratedCommandsInfoNV
indirectCommandsLayout(long value)

Sets the specified value to the indirectCommandsLayout field.

public static VkGeneratedCommandsInfoNV
malloc()

Returns a new VkGeneratedCommandsInfoNV instance allocated with memAlloc.

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

Returns a new VkGeneratedCommandsInfoNV.Buffer instance allocated with memAlloc.

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

Returns a new VkGeneratedCommandsInfoNV instance allocated on the specified MemoryStack.

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

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

public static long
nindirectCommandsLayout(long struct)

Unsafe version of indirectCommandsLayout.

public static void
nindirectCommandsLayout(long struct, long value)

Unsafe version of indirectCommandsLayout.

public static long
npipeline(long struct)

Unsafe version of pipeline.

public static void
npipeline(long struct, long value)

Unsafe version of pipeline.

public static int
npipelineBindPoint(long struct)

Unsafe version of pipelineBindPoint.

public static void
npipelineBindPoint(long struct, int value)

Unsafe version of pipelineBindPoint.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static long
npreprocessBuffer(long struct)

Unsafe version of preprocessBuffer.

public static void
npreprocessBuffer(long struct, long value)

Unsafe version of preprocessBuffer.

public static long
npreprocessOffset(long struct)

Unsafe version of preprocessOffset.

public static void
npreprocessOffset(long struct, long value)

Unsafe version of preprocessOffset.

public static long
npreprocessSize(long struct)

Unsafe version of preprocessSize.

public static void
npreprocessSize(long struct, long value)

Unsafe version of preprocessSize.

public static VkIndirectCommandsStreamNV.Buffer
npStreams(long struct)

Unsafe version of pStreams.

public static void
npStreams(long struct, VkIndirectCommandsStreamNV.Buffer value)

Unsafe version of pStreams.

public static int
nsequencesCount(long struct)

Unsafe version of sequencesCount.

public static void
nsequencesCount(long struct, int value)

Unsafe version of sequencesCount.

public static long
nsequencesCountBuffer(long struct)

Unsafe version of sequencesCountBuffer.

public static void
nsequencesCountBuffer(long struct, long value)

Unsafe version of sequencesCountBuffer.

public static long
nsequencesCountOffset(long struct)

Unsafe version of sequencesCountOffset.

public static void
nsequencesCountOffset(long struct, long value)

Unsafe version of sequencesCountOffset.

public static long
nsequencesIndexBuffer(long struct)

Unsafe version of sequencesIndexBuffer.

public static void
nsequencesIndexBuffer(long struct, long value)

Unsafe version of sequencesIndexBuffer.

public static long
nsequencesIndexOffset(long struct)

Unsafe version of sequencesIndexOffset.

public static void
nsequencesIndexOffset(long struct, long value)

Unsafe version of sequencesIndexOffset.

public static int
nstreamCount(long struct)

Unsafe version of streamCount.

public static void
nstreamCount(long struct, int value)

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

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pipeline()

the VkPipeline used in the generation and execution process.

public VkGeneratedCommandsInfoNV
pipeline(long value)

Sets the specified value to the pipeline field.

public int
pipelineBindPoint()

the VkPipelineBindPoint used for the pipeline.

public VkGeneratedCommandsInfoNV
pipelineBindPoint(int value)

Sets the specified value to the pipelineBindPoint field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkGeneratedCommandsInfoNV
pNext(long value)

Sets the specified value to the pNext field.

public long
preprocessBuffer()

the VkBuffer that is used for preprocessing the input data for execution.

public VkGeneratedCommandsInfoNV
preprocessBuffer(long value)

Sets the specified value to the preprocessBuffer field.

public long
preprocessOffset()

the byte offset into preprocessBuffer where the preprocessed data is stored.

public VkGeneratedCommandsInfoNV
preprocessOffset(long value)

Sets the specified value to the preprocessOffset field.

public long
preprocessSize()

the maximum byte size within the preprocessBuffer after the preprocessOffset that is available for preprocessing.

public VkGeneratedCommandsInfoNV
preprocessSize(long value)

Sets the specified value to the preprocessSize field.

public VkIndirectCommandsStreamNV.Buffer
pStreams()

a pointer to an array of streamCount VkIndirectCommandsStreamNV structures providing the input data for the tokens used in indirectCommandsLayout.

public VkGeneratedCommandsInfoNV
pStreams(VkIndirectCommandsStreamNV.Buffer value)

Sets the address of the specified VkIndirectCommandsStreamNV.Buffer to the pStreams field.

public int
sequencesCount()

the maximum number of sequences to reserve.

public VkGeneratedCommandsInfoNV
sequencesCount(int value)

Sets the specified value to the sequencesCount field.

public long
sequencesCountBuffer()

a VkBuffer in which the actual number of sequences is provided as single uint32_t value.

public VkGeneratedCommandsInfoNV
sequencesCountBuffer(long value)

Sets the specified value to the sequencesCountBuffer field.

public long
sequencesCountOffset()

the byte offset into sequencesCountBuffer where the count value is stored.

public VkGeneratedCommandsInfoNV
sequencesCountOffset(long value)

Sets the specified value to the sequencesCountOffset field.

public long
sequencesIndexBuffer()

a VkBuffer that encodes the used sequence indices as uint32_t array.

public VkGeneratedCommandsInfoNV
sequencesIndexBuffer(long value)

Sets the specified value to the sequencesIndexBuffer field.

public long
sequencesIndexOffset()

the byte offset into sequencesIndexBuffer where the index values start.

public VkGeneratedCommandsInfoNV
sequencesIndexOffset(long value)

Sets the specified value to the sequencesIndexOffset field.

public VkGeneratedCommandsInfoNV
set(int sType, long pNext, int pipelineBindPoint, long pipeline, long indirectCommandsLayout, VkIndirectCommandsStreamNV.Buffer pStreams, int sequencesCount, long preprocessBuffer, long preprocessOffset, long preprocessSize, long sequencesCountBuffer, long sequencesCountOffset, long sequencesIndexBuffer, long sequencesIndexOffset)

Initializes this struct with the specified values.

public VkGeneratedCommandsInfoNV

Returns:

this struct
set
(VkGeneratedCommandsInfoNV
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
streamCount()

defines the number of input streams

public int
sType()

a VkStructureType value identifying this structure.

public VkGeneratedCommandsInfoNV
sType(int value)

Sets the specified value to the sType field.

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

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate