Package org.lwjgl.vulkan
Class VkPipelineExecutableStatisticValueKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineExecutableStatisticValueKHR
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VkPipelineExecutableStatisticValueKHR extends org.lwjgl.system.Struct
A union describing a pipeline executable statistic.Member documentation
b32
– the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR
.i64
– the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR
.u64
– the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR
.f64
– the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHR
isPIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
.
Layout
union VkPipelineExecutableStatisticValueKHR { VkBool32 b32; int64_t i64; uint64_t u64; double f64; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPipelineExecutableStatisticValueKHR.Buffer
An array ofVkPipelineExecutableStatisticValueKHR
structs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableStatisticValueKHR(java.nio.ByteBuffer container)
Creates aVkPipelineExecutableStatisticValueKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
b32()
Returns the value of theb32
field.static VkPipelineExecutableStatisticValueKHR
create(long address)
Returns a newVkPipelineExecutableStatisticValueKHR
instance for the specified memory address.static VkPipelineExecutableStatisticValueKHR.Buffer
create(long address, int capacity)
Create aVkPipelineExecutableStatisticValueKHR.Buffer
instance at the specified memory.static VkPipelineExecutableStatisticValueKHR
createSafe(long address)
static VkPipelineExecutableStatisticValueKHR.Buffer
createSafe(long address, int capacity)
double
f64()
Returns the value of thef64
field.long
i64()
Returns the value of thei64
field.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()
long
u64()
Returns the value of theu64
field.
-
-
-
Constructor Detail
-
VkPipelineExecutableStatisticValueKHR
public VkPipelineExecutableStatisticValueKHR(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
b32
public boolean b32()
Returns the value of theb32
field.
-
i64
public long i64()
Returns the value of thei64
field.
-
u64
public long u64()
Returns the value of theu64
field.
-
f64
public double f64()
Returns the value of thef64
field.
-
create
public static VkPipelineExecutableStatisticValueKHR create(long address)
Returns a newVkPipelineExecutableStatisticValueKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineExecutableStatisticValueKHR createSafe(long address)
-
create
public static VkPipelineExecutableStatisticValueKHR.Buffer create(long address, int capacity)
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()
.
-
-