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 classAn array ofVkPipelineExecutableStatisticValueKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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()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()longi64()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()Returnssizeof(struct).longu64()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 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()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPipelineExecutableStatisticValueKHR>
-
b32
public boolean b32()- Returns:
- the value of the
b32field.
-
i64
public long i64()- Returns:
- the value of the
i64field.
-
u64
public long u64()- Returns:
- the value of the
u64field.
-
f64
public double f64()- Returns:
- the value of the
f64field.
-
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().
-