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>
union VkPipelineExecutableStatisticValueKHR {
VkBool32 b32;
int64_t i64;
uint64_t u64;
double f64;
}
-
Nested Class Summary
Nested ClassesModifier 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
FieldsModifier 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
ConstructorsConstructorDescriptionVkPipelineExecutableStatisticValueKHR
(ByteBuffer container) Creates aVkPipelineExecutableStatisticValueKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
b32()
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.static @Nullable VkPipelineExecutableStatisticValueKHR
createSafe
(long address) static @Nullable VkPipelineExecutableStatisticValueKHR.Buffer
createSafe
(long address, int capacity) double
f64()
long
i64()
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()
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()- Returns:
- the value of the
b32
field.
-
i64
public long i64()- Returns:
- the value of the
i64
field.
-
u64
public long u64()- Returns:
- the value of the
u64
field.
-
f64
public double f64()- Returns:
- the value of the
f64
field.
-
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
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()
.
-