public class VkPipelineExecutablePropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The stages field may be zero or it may contain one or more bits describing the stages principally used to compile this pipeline. Not all implementations have a 1:1 mapping between shader stages and pipeline executables and some implementations may reduce a given shader stage to fixed function hardware programming such that no executable is available. No guarantees are provided about the mapping between shader stages and pipeline executables and stages should be considered a best effort hint. Because the application cannot rely on the stages field to provide an exact description, name and description provide a human readable name and description which more accurately describes the given pipeline executable.
sType must be STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHRpNext must be NULLGetPipelineExecutablePropertiesKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.stages – a bitmask of VkShaderStageFlagBits indicating which shader stages (if any) were principally used as inputs to compile this pipeline executable.name[VK_MAX_DESCRIPTION_SIZE] – an array of MAX_DESCRIPTION_SIZE char containing a null-terminated UTF-8 string which is a short human readable name for this executable.description[VK_MAX_DESCRIPTION_SIZE] – an array of MAX_DESCRIPTION_SIZE char containing a null-terminated UTF-8 string which is a human readable description for this executable.subgroupSize – the subgroup size with which this executable is dispatched.
struct VkPipelineExecutablePropertiesKHR {
VkStructureType sType;
void * pNext;
VkShaderStageFlags stages;
char name[VK_MAX_DESCRIPTION_SIZE];
char description[VK_MAX_DESCRIPTION_SIZE];
uint32_t subgroupSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineExecutablePropertiesKHR.Buffer
An array of
VkPipelineExecutablePropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DESCRIPTION
The struct member offsets.
|
static int |
NAME
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STAGES
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
static int |
SUBGROUPSIZE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineExecutablePropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPipelineExecutablePropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineExecutablePropertiesKHR |
calloc()
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated with memCalloc. |
static VkPipelineExecutablePropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPipelineExecutablePropertiesKHR |
callocStack()
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutablePropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutablePropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutablePropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutablePropertiesKHR |
create()
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated with BufferUtils. |
static VkPipelineExecutablePropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPipelineExecutablePropertiesKHR |
create(long address)
Returns a new
VkPipelineExecutablePropertiesKHR instance for the specified memory address. |
static VkPipelineExecutablePropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPipelineExecutablePropertiesKHR.Buffer instance at the specified memory. |
static VkPipelineExecutablePropertiesKHR |
createSafe(long address)
|
static VkPipelineExecutablePropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
java.nio.ByteBuffer |
description()
Returns a
ByteBuffer view of the description field. |
java.lang.String |
descriptionString()
Decodes the null-terminated string stored in the
description field. |
static VkPipelineExecutablePropertiesKHR |
malloc()
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated with memAlloc. |
static VkPipelineExecutablePropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPipelineExecutablePropertiesKHR |
mallocStack()
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutablePropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutablePropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineExecutablePropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutablePropertiesKHR instance allocated on the specified MemoryStack. |
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the name field. |
java.lang.String |
nameString()
Decodes the null-terminated string stored in the
name field. |
static java.nio.ByteBuffer |
ndescription(long struct)
Unsafe version of
description(). |
static java.lang.String |
ndescriptionString(long struct)
Unsafe version of
descriptionString(). |
static java.nio.ByteBuffer |
nname(long struct)
Unsafe version of
name(). |
static java.lang.String |
nnameString(long struct)
Unsafe version of
nameString(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nstages(long struct)
Unsafe version of
stages(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nsubgroupSize(long struct)
Unsafe version of
subgroupSize(). |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineExecutablePropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineExecutablePropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPipelineExecutablePropertiesKHR |
set(VkPipelineExecutablePropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
stages()
Returns the value of the
stages field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineExecutablePropertiesKHR |
sType(int value)
Sets the specified value to the
sType field. |
int |
subgroupSize()
Returns the value of the
subgroupSize 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 STAGES
public static final int NAME
public static final int DESCRIPTION
public static final int SUBGROUPSIZE
public VkPipelineExecutablePropertiesKHR(java.nio.ByteBuffer container)
VkPipelineExecutablePropertiesKHR 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 int stages()
stages field.public java.nio.ByteBuffer name()
ByteBuffer view of the name field.public java.lang.String nameString()
name field.public java.nio.ByteBuffer description()
ByteBuffer view of the description field.public java.lang.String descriptionString()
description field.public int subgroupSize()
subgroupSize field.public VkPipelineExecutablePropertiesKHR sType(int value)
sType field.public VkPipelineExecutablePropertiesKHR pNext(long value)
pNext field.public VkPipelineExecutablePropertiesKHR set(int sType, long pNext)
public VkPipelineExecutablePropertiesKHR set(VkPipelineExecutablePropertiesKHR src)
src - the source structpublic static VkPipelineExecutablePropertiesKHR malloc()
VkPipelineExecutablePropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineExecutablePropertiesKHR calloc()
VkPipelineExecutablePropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineExecutablePropertiesKHR create()
VkPipelineExecutablePropertiesKHR instance allocated with BufferUtils.public static VkPipelineExecutablePropertiesKHR create(long address)
VkPipelineExecutablePropertiesKHR instance for the specified memory address.@Nullable public static VkPipelineExecutablePropertiesKHR createSafe(long address)
public static VkPipelineExecutablePropertiesKHR.Buffer malloc(int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer calloc(int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer create(int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer create(long address, int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineExecutablePropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPipelineExecutablePropertiesKHR mallocStack()
VkPipelineExecutablePropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPipelineExecutablePropertiesKHR callocStack()
VkPipelineExecutablePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineExecutablePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutablePropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineExecutablePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutablePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineExecutablePropertiesKHR.Buffer mallocStack(int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer callocStack(int capacity)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutablePropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineExecutablePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutablePropertiesKHR.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 int nstages(long struct)
stages().public static java.nio.ByteBuffer nname(long struct)
name().public static java.lang.String nnameString(long struct)
nameString().public static java.nio.ByteBuffer ndescription(long struct)
description().public static java.lang.String ndescriptionString(long struct)
descriptionString().public static int nsubgroupSize(long struct)
subgroupSize().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.