Package org.lwjgl.vulkan
Class VkPipelineExecutableInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineExecutableInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineExecutableInfoKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing a pipeline executable to query for associated statistics or internal representations.Valid Usage
executableIndexmust be less than the number of executables associated withpipelineas returned in thepExecutableCountparameter ofvkGetPipelineExecutablePropertiesKHR.
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRpNextmust beNULLpipelinemust be a validVkPipelinehandle
See Also
GetPipelineExecutableInternalRepresentationsKHR,GetPipelineExecutableStatisticsKHRMember documentation
sType– the type of this structure.pNext–NULLor 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 byGetPipelineExecutablePropertiesKHR.
Layout
struct VkPipelineExecutableInfoKHR { VkStructureType sType; void const * pNext; VkPipeline pipeline; uint32_t executableIndex; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineExecutableInfoKHR.BufferAn array ofVkPipelineExecutableInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)Creates aVkPipelineExecutableInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineExecutableInfoKHRcalloc()Returns a newVkPipelineExecutableInfoKHRinstance allocated withmemCalloc.static VkPipelineExecutableInfoKHR.Buffercalloc(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withmemCalloc.static VkPipelineExecutableInfoKHRcallocStack()Returns a newVkPipelineExecutableInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHR.BuffercallocStack(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHRcreate()Returns a newVkPipelineExecutableInfoKHRinstance allocated withBufferUtils.static VkPipelineExecutableInfoKHR.Buffercreate(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withBufferUtils.static VkPipelineExecutableInfoKHRcreate(long address)Returns a newVkPipelineExecutableInfoKHRinstance for the specified memory address.static VkPipelineExecutableInfoKHR.Buffercreate(long address, int capacity)Create aVkPipelineExecutableInfoKHR.Bufferinstance at the specified memory.static VkPipelineExecutableInfoKHRcreateSafe(long address)static VkPipelineExecutableInfoKHR.BuffercreateSafe(long address, int capacity)intexecutableIndex()Returns the value of theexecutableIndexfield.VkPipelineExecutableInfoKHRexecutableIndex(int value)Sets the specified value to theexecutableIndexfield.static VkPipelineExecutableInfoKHRmalloc()Returns a newVkPipelineExecutableInfoKHRinstance allocated withmemAlloc.static VkPipelineExecutableInfoKHR.Buffermalloc(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withmemAlloc.static VkPipelineExecutableInfoKHRmallocStack()Returns a newVkPipelineExecutableInfoKHRinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableInfoKHR.BuffermallocStack(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStack.static intnexecutableIndex(long struct)Unsafe version ofexecutableIndex().static voidnexecutableIndex(long struct, int value)Unsafe version ofexecutableIndex.static longnpipeline(long struct)Unsafe version ofpipeline().static voidnpipeline(long struct, long value)Unsafe version ofpipeline.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.longpipeline()Returns the value of thepipelinefield.VkPipelineExecutableInfoKHRpipeline(long value)Sets the specified value to thepipelinefield.longpNext()Returns the value of thepNextfield.VkPipelineExecutableInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkPipelineExecutableInfoKHRset(int sType, long pNext, long pipeline, int executableIndex)Initializes this struct with the specified values.VkPipelineExecutableInfoKHRset(VkPipelineExecutableInfoKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPipelineExecutableInfoKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPipelineExecutableInfoKHR
public VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableInfoKHRinstance 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.
-
pipeline
public long pipeline()
Returns the value of thepipelinefield.
-
executableIndex
public int executableIndex()
Returns the value of theexecutableIndexfield.
-
sType
public VkPipelineExecutableInfoKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineExecutableInfoKHR pNext(long value)
Sets the specified value to thepNextfield.
-
pipeline
public VkPipelineExecutableInfoKHR pipeline(long value)
Sets the specified value to thepipelinefield.
-
executableIndex
public VkPipelineExecutableInfoKHR executableIndex(int value)
Sets the specified value to theexecutableIndexfield.
-
set
public VkPipelineExecutableInfoKHR set(int sType, long pNext, long pipeline, int executableIndex)
Initializes this struct with the specified values.
-
set
public VkPipelineExecutableInfoKHR set(VkPipelineExecutableInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineExecutableInfoKHR malloc()
Returns a newVkPipelineExecutableInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineExecutableInfoKHR calloc()
Returns a newVkPipelineExecutableInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineExecutableInfoKHR create()
Returns a newVkPipelineExecutableInfoKHRinstance allocated withBufferUtils.
-
create
public static VkPipelineExecutableInfoKHR create(long address)
Returns a newVkPipelineExecutableInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableInfoKHR createSafe(long address)
-
malloc
public static VkPipelineExecutableInfoKHR.Buffer malloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineExecutableInfoKHR.Buffer calloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableInfoKHR.Buffer create(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableInfoKHR.Buffer create(long address, int capacity)
Create aVkPipelineExecutableInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineExecutableInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPipelineExecutableInfoKHR mallocStack()
Returns a newVkPipelineExecutableInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPipelineExecutableInfoKHR callocStack()
Returns a newVkPipelineExecutableInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPipelineExecutableInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineExecutableInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR.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().
-
npipeline
public static long npipeline(long struct)
Unsafe version ofpipeline().
-
nexecutableIndex
public static int nexecutableIndex(long struct)
Unsafe version ofexecutableIndex().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npipeline
public static void npipeline(long struct, long value)Unsafe version ofpipeline.
-
nexecutableIndex
public static void nexecutableIndex(long struct, int value)Unsafe version ofexecutableIndex.
-
-