public class VkPipelineExecutableInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
executableIndex must be less than the number of executables associated with pipeline as returned in the pExecutableCount parameter of vkGetPipelineExecutablePropertiesKHR.sType must be STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRpNext must be NULLpipeline must be a valid VkPipeline handleGetPipelineExecutableInternalRepresentationsKHR, GetPipelineExecutableStatisticsKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.pipeline – the pipeline to query.executableIndex – the index of the executable to query in the array of executable properties returned by GetPipelineExecutablePropertiesKHR.
struct VkPipelineExecutableInfoKHR {
VkStructureType sType;
void const * pNext;
VkPipeline pipeline;
uint32_t executableIndex;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineExecutableInfoKHR.Buffer
An array of
VkPipelineExecutableInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXECUTABLEINDEX
The struct member offsets.
|
static int |
PIPELINE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)
Creates a
VkPipelineExecutableInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineExecutableInfoKHR |
calloc()
Returns a new
VkPipelineExecutableInfoKHR instance allocated with memCalloc. |
static VkPipelineExecutableInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated with memCalloc. |
static VkPipelineExecutableInfoKHR |
callocStack()
Returns a new
VkPipelineExecutableInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInfoKHR |
create()
Returns a new
VkPipelineExecutableInfoKHR instance allocated with BufferUtils. |
static VkPipelineExecutableInfoKHR.Buffer |
create(int capacity)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated with BufferUtils. |
static VkPipelineExecutableInfoKHR |
create(long address)
Returns a new
VkPipelineExecutableInfoKHR instance for the specified memory address. |
static VkPipelineExecutableInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkPipelineExecutableInfoKHR.Buffer instance at the specified memory. |
static VkPipelineExecutableInfoKHR |
createSafe(long address)
|
static VkPipelineExecutableInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
int |
executableIndex()
Returns the value of the
executableIndex field. |
VkPipelineExecutableInfoKHR |
executableIndex(int value)
Sets the specified value to the
executableIndex field. |
static VkPipelineExecutableInfoKHR |
malloc()
Returns a new
VkPipelineExecutableInfoKHR instance allocated with memAlloc. |
static VkPipelineExecutableInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated with memAlloc. |
static VkPipelineExecutableInfoKHR |
mallocStack()
Returns a new
VkPipelineExecutableInfoKHR instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineExecutableInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInfoKHR instance allocated on the specified MemoryStack. |
static int |
nexecutableIndex(long struct)
Unsafe version of
executableIndex(). |
static void |
nexecutableIndex(long struct,
int value)
Unsafe version of
executableIndex. |
static long |
npipeline(long struct)
Unsafe version of
pipeline(). |
static void |
npipeline(long struct,
long value)
Unsafe version of
pipeline. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pipeline()
Returns the value of the
pipeline field. |
VkPipelineExecutableInfoKHR |
pipeline(long value)
Sets the specified value to the
pipeline field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineExecutableInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineExecutableInfoKHR |
set(int sType,
long pNext,
long pipeline,
int executableIndex)
Initializes this struct with the specified values.
|
VkPipelineExecutableInfoKHR |
set(VkPipelineExecutableInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineExecutableInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int PIPELINE
public static final int EXECUTABLEINDEX
public VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)
VkPipelineExecutableInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public long pipeline()
pipeline field.public int executableIndex()
executableIndex field.public VkPipelineExecutableInfoKHR sType(int value)
sType field.public VkPipelineExecutableInfoKHR pNext(long value)
pNext field.public VkPipelineExecutableInfoKHR pipeline(long value)
pipeline field.public VkPipelineExecutableInfoKHR executableIndex(int value)
executableIndex field.public VkPipelineExecutableInfoKHR set(int sType, long pNext, long pipeline, int executableIndex)
public VkPipelineExecutableInfoKHR set(VkPipelineExecutableInfoKHR src)
src - the source structpublic static VkPipelineExecutableInfoKHR malloc()
VkPipelineExecutableInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineExecutableInfoKHR calloc()
VkPipelineExecutableInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineExecutableInfoKHR create()
VkPipelineExecutableInfoKHR instance allocated with BufferUtils.public static VkPipelineExecutableInfoKHR create(long address)
VkPipelineExecutableInfoKHR instance for the specified memory address.@Nullable public static VkPipelineExecutableInfoKHR createSafe(long address)
public static VkPipelineExecutableInfoKHR.Buffer malloc(int capacity)
VkPipelineExecutableInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer calloc(int capacity)
VkPipelineExecutableInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer create(int capacity)
VkPipelineExecutableInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer create(long address, int capacity)
VkPipelineExecutableInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineExecutableInfoKHR.Buffer createSafe(long address, int capacity)
public static VkPipelineExecutableInfoKHR mallocStack()
VkPipelineExecutableInfoKHR instance allocated on the thread-local MemoryStack.public static VkPipelineExecutableInfoKHR callocStack()
VkPipelineExecutableInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineExecutableInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineExecutableInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity)
VkPipelineExecutableInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity)
VkPipelineExecutableInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static long npipeline(long struct)
pipeline().public static int nexecutableIndex(long struct)
executableIndex().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void npipeline(long struct,
long value)
pipeline.public static void nexecutableIndex(long struct,
int value)
executableIndex.Copyright LWJGL. All Rights Reserved. License terms.