public class VkPipelineExecutableInternalRepresentationKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If pData is NULL, then the size, in bytes, of the internal representation data is returned in dataSize. Otherwise, dataSize must be the size of the buffer, in bytes, pointed to by pData and on return dataSize is overwritten with the number of bytes of data actually written to pData including any trailing null character. If dataSize is less than the size, in bytes, of the internal representation data, at most dataSize bytes of data will be written to pData and vkGetPipelineExecutableInternalRepresentationsKHR will return INCOMPLETE. If isText is TRUE and pData is not NULL and dataSize is not zero, the last byte written to pData will be a null character.
sType must be STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpNext must be NULLGetPipelineExecutableInternalRepresentationsKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.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 internal representation.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 internal representation.isText – specifies whether the returned data is text or opaque data. If isText is TRUE then the data returned in pData is text and is guaranteed to be a null-terminated UTF-8 string.dataSize – an integer related to the size, in bytes, of the internal representation data, as described below.pData – either NULL or a pointer to an block of data into which the implementation will write the textual form of the internal representation.
struct VkPipelineExecutableInternalRepresentationKHR {
VkStructureType sType;
void * pNext;
char name[VK_MAX_DESCRIPTION_SIZE];
char description[VK_MAX_DESCRIPTION_SIZE];
VkBool32 isText;
size_t dataSize;
void * pData;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineExecutableInternalRepresentationKHR.Buffer
An array of
VkPipelineExecutableInternalRepresentationKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DATASIZE
The struct member offsets.
|
static int |
DESCRIPTION
The struct member offsets.
|
static int |
ISTEXT
The struct member offsets.
|
static int |
NAME
The struct member offsets.
|
static int |
PDATA
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 |
|---|
VkPipelineExecutableInternalRepresentationKHR(java.nio.ByteBuffer container)
Creates a
VkPipelineExecutableInternalRepresentationKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineExecutableInternalRepresentationKHR |
calloc()
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated with memCalloc. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
calloc(int capacity)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with memCalloc. |
static VkPipelineExecutableInternalRepresentationKHR |
callocStack()
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInternalRepresentationKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineExecutableInternalRepresentationKHR |
create()
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated with BufferUtils. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
create(int capacity)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with BufferUtils. |
static VkPipelineExecutableInternalRepresentationKHR |
create(long address)
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance for the specified memory address. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
create(long address,
int capacity)
Create a
VkPipelineExecutableInternalRepresentationKHR.Buffer instance at the specified memory. |
static VkPipelineExecutableInternalRepresentationKHR |
createSafe(long address)
|
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
createSafe(long address,
int capacity)
|
long |
dataSize()
Returns the value of the
dataSize field. |
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. |
boolean |
isText()
Returns the value of the
isText field. |
static VkPipelineExecutableInternalRepresentationKHR |
malloc()
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated with memAlloc. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
malloc(int capacity)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with memAlloc. |
static VkPipelineExecutableInternalRepresentationKHR |
mallocStack()
Returns a new
VkPipelineExecutableInternalRepresentationKHR instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineExecutableInternalRepresentationKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineExecutableInternalRepresentationKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineExecutableInternalRepresentationKHR 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 long |
ndataSize(long struct)
Unsafe version of
dataSize(). |
static java.nio.ByteBuffer |
ndescription(long struct)
Unsafe version of
description(). |
static java.lang.String |
ndescriptionString(long struct)
Unsafe version of
descriptionString(). |
static int |
nisText(long struct)
Unsafe version of
isText(). |
static java.nio.ByteBuffer |
nname(long struct)
Unsafe version of
name(). |
static java.lang.String |
nnameString(long struct)
Unsafe version of
nameString(). |
static java.nio.ByteBuffer |
npData(long struct)
Unsafe version of
pData. |
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. |
java.nio.ByteBuffer |
pData()
Returns a
ByteBuffer view of the data pointed to by the pData field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineExecutableInternalRepresentationKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineExecutableInternalRepresentationKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPipelineExecutableInternalRepresentationKHR |
set(VkPipelineExecutableInternalRepresentationKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineExecutableInternalRepresentationKHR |
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 NAME
public static final int DESCRIPTION
public static final int ISTEXT
public static final int DATASIZE
public static final int PDATA
public VkPipelineExecutableInternalRepresentationKHR(java.nio.ByteBuffer container)
VkPipelineExecutableInternalRepresentationKHR 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 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 boolean isText()
isText field.public long dataSize()
dataSize field.@Nullable public java.nio.ByteBuffer pData()
ByteBuffer view of the data pointed to by the pData field.public VkPipelineExecutableInternalRepresentationKHR sType(int value)
sType field.public VkPipelineExecutableInternalRepresentationKHR pNext(long value)
pNext field.public VkPipelineExecutableInternalRepresentationKHR set(int sType, long pNext)
public VkPipelineExecutableInternalRepresentationKHR set(VkPipelineExecutableInternalRepresentationKHR src)
src - the source structpublic static VkPipelineExecutableInternalRepresentationKHR malloc()
VkPipelineExecutableInternalRepresentationKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineExecutableInternalRepresentationKHR calloc()
VkPipelineExecutableInternalRepresentationKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineExecutableInternalRepresentationKHR create()
VkPipelineExecutableInternalRepresentationKHR instance allocated with BufferUtils.public static VkPipelineExecutableInternalRepresentationKHR create(long address)
VkPipelineExecutableInternalRepresentationKHR instance for the specified memory address.@Nullable public static VkPipelineExecutableInternalRepresentationKHR createSafe(long address)
public static VkPipelineExecutableInternalRepresentationKHR.Buffer malloc(int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer calloc(int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer create(int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer create(long address, int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineExecutableInternalRepresentationKHR.Buffer createSafe(long address, int capacity)
public static VkPipelineExecutableInternalRepresentationKHR mallocStack()
VkPipelineExecutableInternalRepresentationKHR instance allocated on the thread-local MemoryStack.public static VkPipelineExecutableInternalRepresentationKHR callocStack()
VkPipelineExecutableInternalRepresentationKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineExecutableInternalRepresentationKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInternalRepresentationKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineExecutableInternalRepresentationKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInternalRepresentationKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineExecutableInternalRepresentationKHR.Buffer mallocStack(int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer callocStack(int capacity)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInternalRepresentationKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineExecutableInternalRepresentationKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineExecutableInternalRepresentationKHR.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 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 nisText(long struct)
isText().public static long ndataSize(long struct)
dataSize().@Nullable public static java.nio.ByteBuffer npData(long struct)
pData.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.