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,GetPipelineExecutableStatisticsKHRMember documentation
sType– the type of this structure.pNext–NULLor 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– aVkPipelineExecutableStatisticFormatKHRvalue 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;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 Modifier and Type Method Description static VkPipelineExecutableStatisticKHRcalloc()Returns a newVkPipelineExecutableStatisticKHRinstance allocated withmemCalloc.static VkPipelineExecutableStatisticKHR.Buffercalloc(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemCalloc.static VkPipelineExecutableStatisticKHRcallocStack()Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableStatisticKHR.BuffercallocStack(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPipelineExecutableStatisticKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineExecutableStatisticKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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()Returns aByteBufferview of thedescriptionfield.java.lang.StringdescriptionString()Decodes the null-terminated string stored in thedescriptionfield.intformat()Returns the value of theformatfield.static VkPipelineExecutableStatisticKHRmalloc()Returns a newVkPipelineExecutableStatisticKHRinstance allocated withmemAlloc.static VkPipelineExecutableStatisticKHR.Buffermalloc(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated withmemAlloc.static VkPipelineExecutableStatisticKHRmallocStack()Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableStatisticKHR.BuffermallocStack(int capacity)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPipelineExecutableStatisticKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineExecutableStatisticKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStack.java.nio.ByteBuffername()Returns aByteBufferview of thenamefield.java.lang.StringnameString()Decodes the null-terminated string stored in thenamefield.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()Returns the value of thepNextfield.VkPipelineExecutableStatisticKHRpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thesTypefield.VkPipelineExecutableStatisticKHRsType(int value)Sets the specified value to thesTypefield.VkPipelineExecutableStatisticValueKHRvalue()Returns aVkPipelineExecutableStatisticValueKHRview of thevaluefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
name
public java.nio.ByteBuffer name()
Returns aByteBufferview of thenamefield.
-
nameString
public java.lang.String nameString()
Decodes the null-terminated string stored in thenamefield.
-
description
public java.nio.ByteBuffer description()
Returns aByteBufferview of thedescriptionfield.
-
descriptionString
public java.lang.String descriptionString()
Decodes the null-terminated string stored in thedescriptionfield.
-
format
public int format()
Returns the value of theformatfield.
-
value
public VkPipelineExecutableStatisticValueKHR value()
Returns aVkPipelineExecutableStatisticValueKHRview of thevaluefield.
-
sType
public VkPipelineExecutableStatisticKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineExecutableStatisticKHR pNext(long value)
Sets the specified value to thepNextfield.
-
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
public static VkPipelineExecutableStatisticKHR mallocStack()
Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPipelineExecutableStatisticKHR callocStack()
Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPipelineExecutableStatisticKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineExecutableStatisticKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPipelineExecutableStatisticKHR callocStack(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
-
mallocStack
public static VkPipelineExecutableStatisticKHR.Buffer mallocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPipelineExecutableStatisticKHR.Buffer callocStack(int capacity)
Returns a newVkPipelineExecutableStatisticKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.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.
-
-