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.NativeResourceStructure describing a compile-time pipeline executable statistic.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRpNextmust beNULL
See Also
VkPipelineExecutableStatisticValueKHR,GetPipelineExecutableStatisticsKHRLayout
struct VkPipelineExecutableStatisticKHR { VkStructureTypesType(); void *pNext(); charname()[VK_MAX_DESCRIPTION_SIZE]; chardescription()[VK_MAX_DESCRIPTION_SIZE]; VkPipelineExecutableStatisticFormatKHRformat();VkPipelineExecutableStatisticValueKHRvalue(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineExecutableStatisticKHR.BufferAn array ofVkPipelineExecutableStatisticKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)Creates aVkPipelineExecutableStatisticKHRinstance 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 VkPipelineExecutableStatisticKHRcalloc()Returns a newVkPipelineExecutableStatisticKHRinstance allocated withmemCalloc.static VkPipelineExecutableStatisticKHR.Buffercalloc(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemCalloc.static VkPipelineExecutableStatisticKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableStatisticKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableStatisticKHRcallocStack()Deprecated.static VkPipelineExecutableStatisticKHR.BuffercallocStack(int capacity)Deprecated.static VkPipelineExecutableStatisticKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineExecutableStatisticKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineExecutableStatisticKHRcreate()Returns a newVkPipelineExecutableStatisticKHRinstance allocated withBufferUtils.static VkPipelineExecutableStatisticKHR.Buffercreate(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withBufferUtils.static VkPipelineExecutableStatisticKHRcreate(long address)Returns a newVkPipelineExecutableStatisticKHRinstance for the specified memory address.static VkPipelineExecutableStatisticKHR.Buffercreate(long address, int capacity)Create aVkPipelineExecutableStatisticKHR.Bufferinstance at the specified memory.static VkPipelineExecutableStatisticKHRcreateSafe(long address)static VkPipelineExecutableStatisticKHR.BuffercreateSafe(long address, int capacity)java.nio.ByteBufferdescription()an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a human readable description for this statistic.java.lang.StringdescriptionString()an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a human readable description for this statistic.intformat()aVkPipelineExecutableStatisticFormatKHRvalue specifying the format of the data found invalue.static VkPipelineExecutableStatisticKHRmalloc()Returns a newVkPipelineExecutableStatisticKHRinstance allocated withmemAlloc.static VkPipelineExecutableStatisticKHR.Buffermalloc(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemAlloc.static VkPipelineExecutableStatisticKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableStatisticKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableStatisticKHRmallocStack()Deprecated.static VkPipelineExecutableStatisticKHR.BuffermallocStack(int capacity)Deprecated.static VkPipelineExecutableStatisticKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineExecutableStatisticKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.java.nio.ByteBuffername()an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a short human readable name for this statistic.java.lang.StringnameString()an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a short human readable name for this statistic.static java.nio.ByteBufferndescription(long struct)Unsafe version ofdescription().static java.lang.StringndescriptionString(long struct)Unsafe version ofdescriptionString().static intnformat(long struct)Unsafe version offormat().static java.nio.ByteBuffernname(long struct)Unsafe version ofname().static java.lang.StringnnameString(long struct)Unsafe version ofnameString().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.static VkPipelineExecutableStatisticValueKHRnvalue(long struct)Unsafe version ofvalue().longpNext()NULLor a pointer to a structure extending this structure.VkPipelineExecutableStatisticKHRpNext(long value)Sets the specified value to thepNext()field.VkPipelineExecutableStatisticKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPipelineExecutableStatisticKHRset(VkPipelineExecutableStatisticKHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineExecutableStatisticKHRsType(int value)Sets the specified value to thesType()field.VkPipelineExecutableStatisticKHRsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRvalue to thesType()field.VkPipelineExecutableStatisticValueKHRvalue()the value of this statistic.
-
-
-
Constructor Detail
-
VkPipelineExecutableStatisticKHR
public VkPipelineExecutableStatisticKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableStatisticKHRinstance 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.
-
name, nameString
public java.nio.ByteBuffer name() public java.lang.String nameString()
an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a short human readable name for this statistic.
-
description, descriptionString
public java.nio.ByteBuffer description() public java.lang.String descriptionString()
an array ofMAX_DESCRIPTION_SIZEcharcontaining a null-terminated UTF-8 string which is a human readable description for this statistic.
-
format
public int format()
aVkPipelineExecutableStatisticFormatKHRvalue specifying the format of the data found invalue.
-
value
public VkPipelineExecutableStatisticValueKHR value()
the value of this statistic.
-
sType
public VkPipelineExecutableStatisticKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineExecutableStatisticKHR sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHRvalue 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 newVkPipelineExecutableStatisticKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineExecutableStatisticKHR calloc()
Returns a newVkPipelineExecutableStatisticKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineExecutableStatisticKHR create()
Returns a newVkPipelineExecutableStatisticKHRinstance allocated withBufferUtils.
-
create
public static VkPipelineExecutableStatisticKHR create(long address)
Returns a newVkPipelineExecutableStatisticKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableStatisticKHR createSafe(long address)
-
malloc
public static VkPipelineExecutableStatisticKHR.Buffer malloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineExecutableStatisticKHR.Buffer calloc(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableStatisticKHR.Buffer create(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineExecutableStatisticKHR.Buffer create(long address, int capacity)
Create aVkPipelineExecutableStatisticKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineExecutableStatisticKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineExecutableStatisticKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableStatisticKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableStatisticKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableStatisticKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineExecutableStatisticKHR.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 VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineExecutableStatisticKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineExecutableStatisticKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineExecutableStatisticKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineExecutableStatisticKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHR.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().
-
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.
-
-