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:
Pointer
public class VkPipelineExecutableStatisticValueKHR
extends 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
Modifier and TypeClassDescriptionstatic class
An array ofVkPipelineExecutableStatisticValueKHR
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionVkPipelineExecutableStatisticValueKHR
(ByteBuffer container) Creates aVkPipelineExecutableStatisticValueKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
b32()
the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
.create
(long address) Returns a newVkPipelineExecutableStatisticValueKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkPipelineExecutableStatisticValueKHR.Buffer
instance at the specified memory.createSafe
(long address) createSafe
(long address, int capacity) double
f64()
the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
.long
i64()
the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
.static int
nb32
(long struct) Unsafe version ofb32()
.static double
nf64
(long struct) Unsafe version off64()
.static long
ni64
(long struct) Unsafe version ofi64()
.static long
nu64
(long struct) Unsafe version ofu64()
.int
sizeof()
Returnssizeof(struct)
.long
u64()
the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
.Methods 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 aVkPipelineExecutableStatisticValueKHR
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkPipelineExecutableStatisticValueKHR>
-
b32
public boolean b32()the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
. -
i64
public long i64()the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
. -
u64
public long u64()the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
. -
f64
public double f64()the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
. -
create
Returns a newVkPipelineExecutableStatisticValueKHR
instance for the specified memory address. -
createSafe
-
create
Create aVkPipelineExecutableStatisticValueKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static 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()
.
-