Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkExecutionGraphPipelineCreateInfoAMDX

extends Struct<VkExecutionGraphPipelineCreateInfoAMDX>
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 of a newly created execution graph pipeline.
Description

The parameters basePipelineHandle and basePipelineIndex are described in more detail in Pipeline Derivatives.

Each shader stage provided when creating an execution graph pipeline (including those in libraries) is associated with a name and an index, determined by the inclusion or omission of a VkPipelineShaderStageNodeCreateInfoAMDX structure in its pNext chain.

In addition to the shader name and index, an internal "node index" is also generated for each node, which can be queried with GetExecutionGraphPipelineNodeIndexAMDX, and is used exclusively for initial dispatch of an execution graph.

Valid Usage
Valid Usage (Implicit)
See Also

VkPipelineLibraryCreateInfoKHR, VkPipelineShaderStageCreateInfo, CreateExecutionGraphPipelinesAMDX

Layout


struct VkExecutionGraphPipelineCreateInfoAMDX {
    VkStructureType sType;
    void const * pNext;
    VkPipelineCreateFlags flags;
    uint32_t stageCount;
    VkPipelineShaderStageCreateInfo const * pStages;
    VkPipelineLibraryCreateInfoKHR const * pLibraryInfo;
    VkPipelineLayout layout;
    VkPipeline basePipelineHandle;
    int32_t basePipelineIndex;
}

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
BASEPIPELINEHANDLE

The struct member offsets.

public static final int
BASEPIPELINEINDEX

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
LAYOUT

The struct member offsets.

public static final int
PLIBRARYINFO

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PSTAGES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STAGECOUNT

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
public
VkExecutionGraphPipelineCreateInfoAMDX(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public long
basePipelineHandle()

a pipeline to derive from

public VkExecutionGraphPipelineCreateInfoAMDX
basePipelineHandle(long value)

Sets the specified value to the basePipelineHandle field.

public int
basePipelineIndex()

an index into the pCreateInfos parameter to use as a pipeline to derive from

public VkExecutionGraphPipelineCreateInfoAMDX
basePipelineIndex(int value)

Sets the specified value to the basePipelineIndex field.

public static VkExecutionGraphPipelineCreateInfoAMDX
calloc()

Returns a new VkExecutionGraphPipelineCreateInfoAMDX instance allocated with memCalloc.

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

Returns a new VkExecutionGraphPipelineCreateInfoAMDX.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new VkExecutionGraphPipelineCreateInfoAMDX instance allocated with BufferUtils.

public static VkExecutionGraphPipelineCreateInfoAMDX
create(long address)

Returns a new VkExecutionGraphPipelineCreateInfoAMDX instance for the specified memory address.

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

Returns a new VkExecutionGraphPipelineCreateInfoAMDX.Buffer instance allocated with BufferUtils.

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

Create a VkExecutionGraphPipelineCreateInfoAMDX.Buffer instance at the specified memory.

public static VkExecutionGraphPipelineCreateInfoAMDX
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
flags()

a bitmask of VkPipelineCreateFlagBits specifying how the pipeline will be generated.

public VkExecutionGraphPipelineCreateInfoAMDX
flags(int value)

Sets the specified value to the flags field.

public long
layout()

the description of binding locations used by both the pipeline and descriptor sets used with the pipeline.

public VkExecutionGraphPipelineCreateInfoAMDX
layout(long value)

Sets the specified value to the layout field.

public static VkExecutionGraphPipelineCreateInfoAMDX
malloc()

Returns a new VkExecutionGraphPipelineCreateInfoAMDX instance allocated with memAlloc.

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

Returns a new VkExecutionGraphPipelineCreateInfoAMDX.Buffer instance allocated with memAlloc.

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

Returns a new VkExecutionGraphPipelineCreateInfoAMDX instance allocated on the specified MemoryStack.

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

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

public static long
nbasePipelineHandle(long struct)

Unsafe version of basePipelineHandle.

public static void
nbasePipelineHandle(long struct, long value)

Unsafe version of basePipelineHandle.

public static int
nbasePipelineIndex(long struct)

Unsafe version of basePipelineIndex.

public static void
nbasePipelineIndex(long struct, int value)

Unsafe version of basePipelineIndex.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static long
nlayout(long struct)

Unsafe version of layout.

public static void
nlayout(long struct, long value)

Unsafe version of layout.

public static VkPipelineLibraryCreateInfoKHR
npLibraryInfo(long struct)

Unsafe version of pLibraryInfo.

public static void
npLibraryInfo(long struct, VkPipelineLibraryCreateInfoKHR value)

Unsafe version of pLibraryInfo.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkPipelineShaderStageCreateInfo.Buffer
npStages(long struct)

Unsafe version of pStages.

public static void
npStages(long struct, VkPipelineShaderStageCreateInfo.Buffer value)

Unsafe version of pStages.

public static int
nstageCount(long struct)

Unsafe version of stageCount.

public static void
nstageCount(long struct, int value)

Sets the specified value to the stageCount 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 VkPipelineLibraryCreateInfoKHR
pLibraryInfo()

a pointer to a VkPipelineLibraryCreateInfoKHR structure defining pipeline libraries to include.

public VkExecutionGraphPipelineCreateInfoAMDX
pLibraryInfo(VkPipelineLibraryCreateInfoKHR value)

Sets the address of the specified VkPipelineLibraryCreateInfoKHR to the pLibraryInfo field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkExecutionGraphPipelineCreateInfoAMDX
pNext(long value)

Sets the specified value to the pNext field.

public VkExecutionGraphPipelineCreateInfoAMDX
pNext(VkPipelineCompilerControlCreateInfoAMD value)

Prepends the specified VkPipelineCompilerControlCreateInfoAMD value to the pNext chain.

public VkExecutionGraphPipelineCreateInfoAMDX
pNext(VkPipelineCreationFeedbackCreateInfo value)

Prepends the specified VkPipelineCreationFeedbackCreateInfo value to the pNext chain.

public VkExecutionGraphPipelineCreateInfoAMDX
pNext(VkPipelineCreationFeedbackCreateInfoEXT value)

Prepends the specified VkPipelineCreationFeedbackCreateInfoEXT value to the pNext chain.

public VkPipelineShaderStageCreateInfo.Buffer
pStages()

a pointer to an array of stageCount VkPipelineShaderStageCreateInfo structures describing the set of the shader stages to be included in the execution graph pipeline.

public VkExecutionGraphPipelineCreateInfoAMDX
public VkExecutionGraphPipelineCreateInfoAMDX
set(int sType, long pNext, int flags, int stageCount, VkPipelineShaderStageCreateInfo.Buffer pStages, VkPipelineLibraryCreateInfoKHR pLibraryInfo, long layout, long basePipelineHandle, int basePipelineIndex)

Initializes this struct with the specified values.

public VkExecutionGraphPipelineCreateInfoAMDX

Returns:

this struct
set
(VkExecutionGraphPipelineCreateInfoAMDX
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
stageCount()

the number of entries in the pStages array.

public VkExecutionGraphPipelineCreateInfoAMDX
stageCount(int value)

Sets the specified value to the stageCount field.

public int
sType()

a VkStructureType value identifying this structure.

public VkExecutionGraphPipelineCreateInfoAMDX
sType(int value)

Sets the specified value to the sType field.

public VkExecutionGraphPipelineCreateInfoAMDX
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