Package org.lwjgl.vulkan
Class VkPipelineExecutableStatisticKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineExecutableStatisticKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPipelineExecutableStatisticKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing a compile-time pipeline executable statistic.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR
pNext
must beNULL
See Also
VkPipelineExecutableStatisticValueKHR
,GetPipelineExecutableStatisticsKHR
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.name[VK_MAX_DESCRIPTION_SIZE]
– a short human readable name for this statistic.description[VK_MAX_DESCRIPTION_SIZE]
– a human readable description for this statistic.format
– aVkPipelineExecutableStatisticFormatKHR
value which specifies the format of the data found invalue
.value
– the value of this statistic.
Layout
struct VkPipelineExecutableStatisticKHR { VkStructureType sType; void * pNext; char name[VK_MAX_DESCRIPTION_SIZE]; char description[VK_MAX_DESCRIPTION_SIZE]; VkPipelineExecutableStatisticFormatKHR format;
VkPipelineExecutableStatisticValueKHR
value; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPipelineExecutableStatisticKHR.Buffer
An array ofVkPipelineExecutableStatisticKHR
structs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableStatisticKHR
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 VkPipelineExecutableStatisticKHR
calloc()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withmemCalloc
.static VkPipelineExecutableStatisticKHR.Buffer
calloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withmemCalloc
.static VkPipelineExecutableStatisticKHR
callocStack()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableStatisticKHR.Buffer
callocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableStatisticKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableStatisticKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPipelineExecutableStatisticKHR
create()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withBufferUtils
.static VkPipelineExecutableStatisticKHR.Buffer
create(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withBufferUtils
.static VkPipelineExecutableStatisticKHR
create(long address)
Returns a newVkPipelineExecutableStatisticKHR
instance for the specified memory address.static VkPipelineExecutableStatisticKHR.Buffer
create(long address, int capacity)
Create aVkPipelineExecutableStatisticKHR.Buffer
instance at the specified memory.static VkPipelineExecutableStatisticKHR
createSafe(long address)
static VkPipelineExecutableStatisticKHR.Buffer
createSafe(long address, int capacity)
java.nio.ByteBuffer
description()
Returns aByteBuffer
view of thedescription
field.java.lang.String
descriptionString()
Decodes the null-terminated string stored in thedescription
field.int
format()
Returns the value of theformat
field.static VkPipelineExecutableStatisticKHR
malloc()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withmemAlloc
.static VkPipelineExecutableStatisticKHR.Buffer
malloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withmemAlloc
.static VkPipelineExecutableStatisticKHR
mallocStack()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the thread-localMemoryStack
.static VkPipelineExecutableStatisticKHR.Buffer
mallocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPipelineExecutableStatisticKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPipelineExecutableStatisticKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the specifiedMemoryStack
.java.nio.ByteBuffer
name()
Returns aByteBuffer
view of thename
field.java.lang.String
nameString()
Decodes the null-terminated string stored in thename
field.static java.nio.ByteBuffer
ndescription(long struct)
Unsafe version ofdescription()
.static java.lang.String
ndescriptionString(long struct)
Unsafe version ofdescriptionString()
.static int
nformat(long struct)
Unsafe version offormat()
.static java.nio.ByteBuffer
nname(long struct)
Unsafe version ofname()
.static java.lang.String
nnameString(long struct)
Unsafe version ofnameString()
.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
.static VkPipelineExecutableStatisticValueKHR
nvalue(long struct)
Unsafe version ofvalue()
.long
pNext()
Returns the value of thepNext
field.VkPipelineExecutableStatisticKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPipelineExecutableStatisticKHR
set(int sType, long pNext)
Initializes this struct with the specified values.VkPipelineExecutableStatisticKHR
set(VkPipelineExecutableStatisticKHR src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPipelineExecutableStatisticKHR
sType(int value)
Sets the specified value to thesType
field.VkPipelineExecutableStatisticValueKHR
value()
Returns aVkPipelineExecutableStatisticValueKHR
view of thevalue
field.
-
-
-
Constructor Detail
-
VkPipelineExecutableStatisticKHR
public VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableStatisticKHR
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.
-
name
public java.nio.ByteBuffer name()
Returns aByteBuffer
view of thename
field.
-
nameString
public java.lang.String nameString()
Decodes the null-terminated string stored in thename
field.
-
description
public java.nio.ByteBuffer description()
Returns aByteBuffer
view of thedescription
field.
-
descriptionString
public java.lang.String descriptionString()
Decodes the null-terminated string stored in thedescription
field.
-
format
public int format()
Returns the value of theformat
field.
-
value
public VkPipelineExecutableStatisticValueKHR value()
Returns aVkPipelineExecutableStatisticValueKHR
view of thevalue
field.
-
sType
public VkPipelineExecutableStatisticKHR sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineExecutableStatisticKHR pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkPipelineExecutableStatisticKHR set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPipelineExecutableStatisticKHR set(VkPipelineExecutableStatisticKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineExecutableStatisticKHR malloc()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPipelineExecutableStatisticKHR calloc()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPipelineExecutableStatisticKHR create()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated withBufferUtils
.
-
create
public static VkPipelineExecutableStatisticKHR create(long address)
Returns a newVkPipelineExecutableStatisticKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableStatisticKHR createSafe(long address)
-
malloc
public static VkPipelineExecutableStatisticKHR.Buffer malloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPipelineExecutableStatisticKHR.Buffer calloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPipelineExecutableStatisticKHR.Buffer create(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPipelineExecutableStatisticKHR.Buffer create(long address, int capacity)
Create aVkPipelineExecutableStatisticKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPipelineExecutableStatisticKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPipelineExecutableStatisticKHR mallocStack()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPipelineExecutableStatisticKHR callocStack()
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPipelineExecutableStatisticKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPipelineExecutableStatisticKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.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()
.
-
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()
.
-
nformat
public static int nformat(long struct)
Unsafe version offormat()
.
-
nvalue
public static VkPipelineExecutableStatisticValueKHR nvalue(long struct)
Unsafe version ofvalue()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-