Package org.lwjgl.vulkan
Class VkPipelineExecutableStatisticValueKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineExecutableStatisticValueKHR>
org.lwjgl.vulkan.VkPipelineExecutableStatisticValueKHR
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VkPipelineExecutableStatisticValueKHR
extends org.lwjgl.system.Struct<VkPipelineExecutableStatisticValueKHR>
A union describing a pipeline executable statistic.
See Also
VkPipelineExecutableStatisticKHR
Layout
union VkPipelineExecutableStatisticValueKHR {
VkBool32 b32();
int64_t i64();
uint64_t u64();
double f64();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPipelineExecutableStatisticValueKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkPipelineExecutableStatisticValueKHR(ByteBuffer container) Creates aVkPipelineExecutableStatisticValueKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanb32()the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR.create(long address) Returns a newVkPipelineExecutableStatisticValueKHRinstance for the specified memory address.create(long address, int capacity) Create aVkPipelineExecutableStatisticValueKHR.Bufferinstance at the specified memory.static @Nullable VkPipelineExecutableStatisticValueKHRcreateSafe(long address) static @Nullable VkPipelineExecutableStatisticValueKHR.BuffercreateSafe(long address, int capacity) doublef64()the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR.longi64()the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR.static intnb32(long struct) Unsafe version ofb32().static doublenf64(long struct) Unsafe version off64().static longni64(long struct) Unsafe version ofi64().static longnu64(long struct) Unsafe version ofu64().intsizeof()longu64()the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
B32
public static final int B32The struct member offsets. -
I64
public static final int I64The struct member offsets. -
U64
public static final int U64The struct member offsets. -
F64
public static final int F64The struct member offsets.
-
-
Constructor Details
-
VkPipelineExecutableStatisticValueKHR
Creates aVkPipelineExecutableStatisticValueKHRinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkPipelineExecutableStatisticValueKHR>
-
b32
public boolean b32()the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR. -
i64
public long i64()the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR. -
u64
public long u64()the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR. -
f64
public double f64()the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR. -
create
Returns a newVkPipelineExecutableStatisticValueKHRinstance for the specified memory address. -
createSafe
-
create
Create aVkPipelineExecutableStatisticValueKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPipelineExecutableStatisticValueKHR.Buffer createSafe(long address, int capacity) -
nb32
public static int nb32(long struct) Unsafe version ofb32(). -
ni64
public static long ni64(long struct) Unsafe version ofi64(). -
nu64
public static long nu64(long struct) Unsafe version ofu64(). -
nf64
public static double nf64(long struct) Unsafe version off64().
-