Class VkPipelineExecutableInternalRepresentationKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineExecutableInternalRepresentationKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineExecutableInternalRepresentationKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the textual form of a pipeline executable internal representation.Description
If
pDataisNULL, then the size, in bytes, of the internal representation data is returned indataSize. Otherwise,dataSizemust be the size of the buffer, in bytes, pointed to bypDataand on returndataSizeis overwritten with the number of bytes of data actually written topDataincluding any trailing null character. IfdataSizeis less than the size, in bytes, of the internal representation data, at mostdataSizebytes of data will be written topDataandvkGetPipelineExecutableInternalRepresentationsKHRwill returnINCOMPLETE. IfisTextisTRUEandpDatais notNULLanddataSizeis not zero, the last byte written topDatawill be a null character.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHRpNextmust beNULLnamemust be a null-terminated UTF-8 string whose length is less than or equal to VK_MAX_DESCRIPTION_SIZEdescriptionmust be a null-terminated UTF-8 string whose length is less than or equal to VK_MAX_DESCRIPTION_SIZE- If
dataSizeis not 0, andpDatais notNULL,pDatamust be a valid pointer to an array ofdataSizebytes
See Also
GetPipelineExecutableInternalRepresentationsKHRMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.name[VK_MAX_DESCRIPTION_SIZE]– a short human readable name for this internal representation.description[VK_MAX_DESCRIPTION_SIZE]– a human readable description for this internal representation.isText– specifies whether the returned data is text or opaque data. IfisTextisTRUEthen the data returned inpDatais 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– eitherNULLor a pointer to an block of data into which the implementation will write the textual form of the internal representation.
Layout
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; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineExecutableInternalRepresentationKHR.BufferAn array ofVkPipelineExecutableInternalRepresentationKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableInternalRepresentationKHR(java.nio.ByteBuffer container)Creates aVkPipelineExecutableInternalRepresentationKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineExecutableInternalRepresentationKHRcalloc()Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withmemCalloc.static VkPipelineExecutableInternalRepresentationKHR.Buffercalloc(int capacity)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withmemCalloc.static VkPipelineExecutableInternalRepresentationKHRcallocStack()Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInternalRepresentationKHR.BuffercallocStack(int capacity)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInternalRepresentationKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInternalRepresentationKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInternalRepresentationKHRcreate()Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withBufferUtils.static VkPipelineExecutableInternalRepresentationKHR.Buffercreate(int capacity)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withBufferUtils.static VkPipelineExecutableInternalRepresentationKHRcreate(long address)Returns a newVkPipelineExecutableInternalRepresentationKHRinstance for the specified memory address.static VkPipelineExecutableInternalRepresentationKHR.Buffercreate(long address, int capacity)Create aVkPipelineExecutableInternalRepresentationKHR.Bufferinstance at the specified memory.static VkPipelineExecutableInternalRepresentationKHRcreateSafe(long address)static VkPipelineExecutableInternalRepresentationKHR.BuffercreateSafe(long address, int capacity)longdataSize()Returns the value of thedataSizefield.VkPipelineExecutableInternalRepresentationKHRdataSize(long value)Sets the specified value to thedataSizefield.java.nio.ByteBufferdescription()Returns aByteBufferview of thedescriptionfield.VkPipelineExecutableInternalRepresentationKHRdescription(java.nio.ByteBuffer value)Copies the specified encoded string to thedescriptionfield.java.lang.StringdescriptionString()Decodes the null-terminated string stored in thedescriptionfield.booleanisText()Returns the value of theisTextfield.VkPipelineExecutableInternalRepresentationKHRisText(boolean value)Sets the specified value to theisTextfield.static VkPipelineExecutableInternalRepresentationKHRmalloc()Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withmemAlloc.static VkPipelineExecutableInternalRepresentationKHR.Buffermalloc(int capacity)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withmemAlloc.static VkPipelineExecutableInternalRepresentationKHRmallocStack()Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableInternalRepresentationKHR.BuffermallocStack(int capacity)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableInternalRepresentationKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableInternalRepresentationKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the specifiedMemoryStack.java.nio.ByteBuffername()Returns aByteBufferview of thenamefield.VkPipelineExecutableInternalRepresentationKHRname(java.nio.ByteBuffer value)Copies the specified encoded string to thenamefield.java.lang.StringnameString()Decodes the null-terminated string stored in thenamefield.static longndataSize(long struct)Unsafe version ofdataSize().static voidndataSize(long struct, long value)Sets the specified value to thedataSizefield of the specifiedstruct.static java.nio.ByteBufferndescription(long struct)Unsafe version ofdescription().static voidndescription(long struct, java.nio.ByteBuffer value)Unsafe version ofdescription.static java.lang.StringndescriptionString(long struct)Unsafe version ofdescriptionString().static intnisText(long struct)Unsafe version ofisText().static voidnisText(long struct, int value)Unsafe version ofisText.static java.nio.ByteBuffernname(long struct)Unsafe version ofname().static voidnname(long struct, java.nio.ByteBuffer value)Unsafe version ofname.static java.lang.StringnnameString(long struct)Unsafe version ofnameString().static java.nio.ByteBuffernpData(long struct)Unsafe version ofpData.static voidnpData(long struct, java.nio.ByteBuffer value)Unsafe version ofpData.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.ByteBufferpData()Returns aByteBufferview of the data pointed to by thepDatafield.VkPipelineExecutableInternalRepresentationKHRpData(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thepDatafield.longpNext()Returns the value of thepNextfield.VkPipelineExecutableInternalRepresentationKHRpNext(long value)Sets the specified value to thepNextfield.VkPipelineExecutableInternalRepresentationKHRset(int sType, long pNext, java.nio.ByteBuffer name, java.nio.ByteBuffer description, boolean isText, long dataSize, java.nio.ByteBuffer pData)Initializes this struct with the specified values.VkPipelineExecutableInternalRepresentationKHRset(VkPipelineExecutableInternalRepresentationKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPipelineExecutableInternalRepresentationKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPipelineExecutableInternalRepresentationKHR
public VkPipelineExecutableInternalRepresentationKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableInternalRepresentationKHRinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
name
public java.nio.ByteBuffer name()
Returns aByteBufferview of thenamefield.
-
nameString
public java.lang.String nameString()
Decodes the null-terminated string stored in thenamefield.
-
description
public java.nio.ByteBuffer description()
Returns aByteBufferview of thedescriptionfield.
-
descriptionString
public java.lang.String descriptionString()
Decodes the null-terminated string stored in thedescriptionfield.
-
isText
public boolean isText()
Returns the value of theisTextfield.
-
dataSize
public long dataSize()
Returns the value of thedataSizefield.
-
pData
@Nullable public java.nio.ByteBuffer pData()
Returns aByteBufferview of the data pointed to by thepDatafield.
-
sType
public VkPipelineExecutableInternalRepresentationKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineExecutableInternalRepresentationKHR pNext(long value)
Sets the specified value to thepNextfield.
-
name
public VkPipelineExecutableInternalRepresentationKHR name(java.nio.ByteBuffer value)
Copies the specified encoded string to thenamefield.
-
description
public VkPipelineExecutableInternalRepresentationKHR description(java.nio.ByteBuffer value)
Copies the specified encoded string to thedescriptionfield.
-
isText
public VkPipelineExecutableInternalRepresentationKHR isText(boolean value)
Sets the specified value to theisTextfield.
-
dataSize
public VkPipelineExecutableInternalRepresentationKHR dataSize(long value)
Sets the specified value to thedataSizefield.
-
pData
public VkPipelineExecutableInternalRepresentationKHR pData(@Nullable java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thepDatafield.
-
set
public VkPipelineExecutableInternalRepresentationKHR set(int sType, long pNext, java.nio.ByteBuffer name, java.nio.ByteBuffer description, boolean isText, long dataSize, @Nullable java.nio.ByteBuffer pData)
Initializes this struct with the specified values.
-
set
public VkPipelineExecutableInternalRepresentationKHR set(VkPipelineExecutableInternalRepresentationKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineExecutableInternalRepresentationKHR malloc()
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineExecutableInternalRepresentationKHR calloc()
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineExecutableInternalRepresentationKHR create()
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated withBufferUtils.
-
create
public static VkPipelineExecutableInternalRepresentationKHR create(long address)
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableInternalRepresentationKHR createSafe(long address)
-
malloc
public static VkPipelineExecutableInternalRepresentationKHR.Buffer malloc(int capacity)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineExecutableInternalRepresentationKHR.Buffer calloc(int capacity)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableInternalRepresentationKHR.Buffer create(int capacity)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableInternalRepresentationKHR.Buffer create(long address, int capacity)
Create aVkPipelineExecutableInternalRepresentationKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineExecutableInternalRepresentationKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPipelineExecutableInternalRepresentationKHR mallocStack()
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPipelineExecutableInternalRepresentationKHR callocStack()
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPipelineExecutableInternalRepresentationKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineExecutableInternalRepresentationKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInternalRepresentationKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPipelineExecutableInternalRepresentationKHR.Buffer mallocStack(int capacity)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPipelineExecutableInternalRepresentationKHR.Buffer callocStack(int capacity)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPipelineExecutableInternalRepresentationKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPipelineExecutableInternalRepresentationKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInternalRepresentationKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nname
public static java.nio.ByteBuffer nname(long struct)
Unsafe version ofname().
-
nnameString
public static java.lang.String nnameString(long struct)
Unsafe version ofnameString().
-
ndescription
public static java.nio.ByteBuffer ndescription(long struct)
Unsafe version ofdescription().
-
ndescriptionString
public static java.lang.String ndescriptionString(long struct)
Unsafe version ofdescriptionString().
-
nisText
public static int nisText(long struct)
Unsafe version ofisText().
-
ndataSize
public static long ndataSize(long struct)
Unsafe version ofdataSize().
-
npData
@Nullable public static java.nio.ByteBuffer npData(long struct)
Unsafe version ofpData.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nname
public static void nname(long struct, java.nio.ByteBuffer value)Unsafe version ofname.
-
ndescription
public static void ndescription(long struct, java.nio.ByteBuffer value)Unsafe version ofdescription.
-
nisText
public static void nisText(long struct, int value)Unsafe version ofisText.
-
ndataSize
public static void ndataSize(long struct, long value)Sets the specified value to thedataSizefield of the specifiedstruct.
-
npData
public static void npData(long struct, @Nullable java.nio.ByteBuffer value)Unsafe version ofpData.
-
-