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 pipeline executables associated withpipelineas returned in thepExecutableCountparameter ofvkGetPipelineExecutablePropertiesKHR
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRpNextmust beNULLpipelinemust be a validVkPipelinehandle
See Also
GetPipelineExecutableInternalRepresentationsKHR,GetPipelineExecutableStatisticsKHRLayout
struct VkPipelineExecutableInfoKHR { VkStructureTypesType(); void const *pNext(); VkPipelinepipeline(); uint32_texecutableIndex(); }
-
-
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 Deprecated 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 VkPipelineExecutableInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableInfoKHRcallocStack()Deprecated.static VkPipelineExecutableInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkPipelineExecutableInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineExecutableInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()the index of the pipeline executable to query in the array of executable properties returned byGetPipelineExecutablePropertiesKHR.VkPipelineExecutableInfoKHRexecutableIndex(int value)Sets the specified value to theexecutableIndex()field.static VkPipelineExecutableInfoKHRmalloc()Returns a newVkPipelineExecutableInfoKHRinstance allocated withmemAlloc.static VkPipelineExecutableInfoKHR.Buffermalloc(int capacity)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated withmemAlloc.static VkPipelineExecutableInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableInfoKHRmallocStack()Deprecated.static VkPipelineExecutableInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkPipelineExecutableInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineExecutableInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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()the pipeline to query.VkPipelineExecutableInfoKHRpipeline(long value)Sets the specified value to thepipeline()field.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineExecutableInfoKHRpNext(long value)Sets the specified value to thepNext()field.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()the type of this structure.VkPipelineExecutableInfoKHRsType(int value)Sets the specified value to thesType()field.VkPipelineExecutableInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRvalue to thesType()field.
-
-
-
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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
pipeline
public long pipeline()
the pipeline to query.
-
executableIndex
public int executableIndex()
the index of the pipeline executable to query in the array of executable properties returned byGetPipelineExecutablePropertiesKHR.
-
sType
public VkPipelineExecutableInfoKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineExecutableInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHRvalue to thesType()field.
-
pNext
public VkPipelineExecutableInfoKHR pNext(long value)
Sets the specified value to thepNext()field.
-
pipeline
public VkPipelineExecutableInfoKHR pipeline(long value)
Sets the specified value to thepipeline()field.
-
executableIndex
public VkPipelineExecutableInfoKHR executableIndex(int value)
Sets the specified value to theexecutableIndex()field.
-
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
@Deprecated public static VkPipelineExecutableInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineExecutableInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineExecutableInfoKHR calloc(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
-
malloc
public static VkPipelineExecutableInfoKHR.Buffer malloc(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
-
calloc
public static VkPipelineExecutableInfoKHR.Buffer calloc(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.
-
-