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.StructA union describing a pipeline executable statistic.Member documentation
b32– the 32-bit boolean value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR.i64– the signed 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR.u64– the unsigned 64-bit integer value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR.f64– the 64-bit floating-point value if theVkPipelineExecutableStatisticFormatKHRisPIPELINE_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 classVkPipelineExecutableStatisticValueKHR.BufferAn array ofVkPipelineExecutableStatisticValueKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkPipelineExecutableStatisticValueKHR(java.nio.ByteBuffer container)Creates aVkPipelineExecutableStatisticValueKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanb32()Returns the value of theb32field.static VkPipelineExecutableStatisticValueKHRcreate(long address)Returns a newVkPipelineExecutableStatisticValueKHRinstance for the specified memory address.static VkPipelineExecutableStatisticValueKHR.Buffercreate(long address, int capacity)Create aVkPipelineExecutableStatisticValueKHR.Bufferinstance at the specified memory.static VkPipelineExecutableStatisticValueKHRcreateSafe(long address)static VkPipelineExecutableStatisticValueKHR.BuffercreateSafe(long address, int capacity)doublef64()Returns the value of thef64field.longi64()Returns the value of thei64field.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()Returns the value of theu64field.
-
-
-
Constructor Detail
-
VkPipelineExecutableStatisticValueKHR
public VkPipelineExecutableStatisticValueKHR(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
b32
public boolean b32()
Returns the value of theb32field.
-
i64
public long i64()
Returns the value of thei64field.
-
u64
public long u64()
Returns the value of theu64field.
-
f64
public double f64()
Returns the value of thef64field.
-
create
public static VkPipelineExecutableStatisticValueKHR create(long address)
Returns a newVkPipelineExecutableStatisticValueKHRinstance 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.Bufferinstance 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().
-
-