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.NativeResource
Structure describing a pipeline executable to query for associated statistics or internal representations.Valid Usage
executableIndex
must be less than the number of executables associated withpipeline
as returned in thepExecutableCount
parameter ofvkGetPipelineExecutablePropertiesKHR
.
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR
pNext
must beNULL
pipeline
must be a validVkPipeline
handle
See Also
GetPipelineExecutableInternalRepresentationsKHR
,GetPipelineExecutableStatisticsKHR
Member documentation
sType
– the type of this structure.pNext
–NULL
or 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 class
VkPipelineExecutableInfoKHR.Buffer
An array ofVkPipelineExecutableInfoKHR
structs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineExecutableInfoKHR
calloc()
Returns a newVkPipelineExecutableInfoKHR
instance allocated withmemCalloc
.static VkPipelineExecutableInfoKHR.Buffer
calloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withmemCalloc
.static VkPipelineExecutableInfoKHR
callocStack()
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableInfoKHR
create()
Returns a newVkPipelineExecutableInfoKHR
instance allocated withBufferUtils
.static VkPipelineExecutableInfoKHR.Buffer
create(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withBufferUtils
.static VkPipelineExecutableInfoKHR
create(long address)
Returns a newVkPipelineExecutableInfoKHR
instance for the specified memory address.static VkPipelineExecutableInfoKHR.Buffer
create(long address, int capacity)
Create aVkPipelineExecutableInfoKHR.Buffer
instance at the specified memory.static VkPipelineExecutableInfoKHR
createSafe(long address)
static VkPipelineExecutableInfoKHR.Buffer
createSafe(long address, int capacity)
int
executableIndex()
Returns the value of theexecutableIndex
field.VkPipelineExecutableInfoKHR
executableIndex(int value)
Sets the specified value to theexecutableIndex
field.static VkPipelineExecutableInfoKHR
malloc()
Returns a newVkPipelineExecutableInfoKHR
instance allocated withmemAlloc
.static VkPipelineExecutableInfoKHR.Buffer
malloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withmemAlloc
.static VkPipelineExecutableInfoKHR
mallocStack()
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the thread-localMemoryStack
.static VkPipelineExecutableInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPipelineExecutableInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPipelineExecutableInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the specifiedMemoryStack
.static int
nexecutableIndex(long struct)
Unsafe version ofexecutableIndex()
.static void
nexecutableIndex(long struct, int value)
Unsafe version ofexecutableIndex
.static long
npipeline(long struct)
Unsafe version ofpipeline()
.static void
npipeline(long struct, long value)
Unsafe version ofpipeline
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pipeline()
Returns the value of thepipeline
field.VkPipelineExecutableInfoKHR
pipeline(long value)
Sets the specified value to thepipeline
field.long
pNext()
Returns the value of thepNext
field.VkPipelineExecutableInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPipelineExecutableInfoKHR
set(int sType, long pNext, long pipeline, int executableIndex)
Initializes this struct with the specified values.VkPipelineExecutableInfoKHR
set(VkPipelineExecutableInfoKHR src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPipelineExecutableInfoKHR
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkPipelineExecutableInfoKHR
public VkPipelineExecutableInfoKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableInfoKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
pipeline
public long pipeline()
Returns the value of thepipeline
field.
-
executableIndex
public int executableIndex()
Returns the value of theexecutableIndex
field.
-
sType
public VkPipelineExecutableInfoKHR sType(int value)
Sets the specified value 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 newVkPipelineExecutableInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPipelineExecutableInfoKHR calloc()
Returns a newVkPipelineExecutableInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPipelineExecutableInfoKHR create()
Returns a newVkPipelineExecutableInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkPipelineExecutableInfoKHR create(long address)
Returns a newVkPipelineExecutableInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableInfoKHR createSafe(long address)
-
malloc
public static VkPipelineExecutableInfoKHR.Buffer malloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPipelineExecutableInfoKHR.Buffer calloc(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPipelineExecutableInfoKHR.Buffer create(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPipelineExecutableInfoKHR.Buffer create(long address, int capacity)
Create aVkPipelineExecutableInfoKHR.Buffer
instance 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 newVkPipelineExecutableInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPipelineExecutableInfoKHR callocStack()
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPipelineExecutableInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPipelineExecutableInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableInfoKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPipelineExecutableInfoKHR.Buffer callocStack(int capacity)
Returns a newVkPipelineExecutableInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-
-