Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPipelineExecutableStatisticValueKHR

extends Struct<VkPipelineExecutableStatisticValueKHR>
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

A union describing a pipeline executable statistic.
See Also

VkPipelineExecutableStatisticKHR

Layout


union VkPipelineExecutableStatisticValueKHR {
    VkBool32 b32;
    int64_t i64;
    uint64_t u64;
    double f64;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
B32

The struct member offsets.

public static final int
F64

The struct member offsets.

public static final int
I64

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
U64

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPipelineExecutableStatisticValueKHR(ByteBuffer container)

Creates a VkPipelineExecutableStatisticValueKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public boolean
b32()

the 32-bit boolean value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR.

protected VkPipelineExecutableStatisticValueKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPipelineExecutableStatisticValueKHR
create(long address)

Returns a new VkPipelineExecutableStatisticValueKHR instance for the specified memory address.

public static VkPipelineExecutableStatisticValueKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPipelineExecutableStatisticValueKHR.Buffer instance at the specified memory.

public static VkPipelineExecutableStatisticValueKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPipelineExecutableStatisticValueKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public double
f64()

the 64-bit floating-point value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR.

public long
i64()

the signed 64-bit integer value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR.

public static int
nb32(long struct)

Unsafe version of b32.

public static double
nf64(long struct)

Unsafe version of f64.

public static long
ni64(long struct)

Unsafe version of i64.

public static long
nu64(long struct)

Unsafe version of u64.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long
u64()

the unsigned 64-bit integer value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

B32back to summary
public static final int B32

The struct member offsets.

F64back to summary
public static final int F64

The struct member offsets.

I64back to summary
public static final int I64

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

U64back to summary
public static final int U64

The struct member offsets.

Constructor Detail

VkPipelineExecutableStatisticValueKHRback to summary
protected VkPipelineExecutableStatisticValueKHR(long address, ByteBuffer container)
VkPipelineExecutableStatisticValueKHRback to summary
public VkPipelineExecutableStatisticValueKHR(ByteBuffer container)

Creates a VkPipelineExecutableStatisticValueKHR instance at the current position of the specified ByteBuffer 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

b32back to summary
public boolean b32()

the 32-bit boolean value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR.

Annotations
@NativeType:VkBool32
createback to summary
protected VkPipelineExecutableStatisticValueKHR create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkPipelineExecutableStatisticValueKHR create(long address)

Returns a new VkPipelineExecutableStatisticValueKHR instance for the specified memory address.

createback to summary
public static VkPipelineExecutableStatisticValueKHR.Buffer create(long address, int capacity)

Create a VkPipelineExecutableStatisticValueKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkPipelineExecutableStatisticValueKHR createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkPipelineExecutableStatisticValueKHR.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
f64back to summary
public double f64()

the 64-bit floating-point value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR.

i64back to summary
public long i64()

the signed 64-bit integer value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR.

Annotations
@NativeType:int64_t
nb32back to summary
public static int nb32(long struct)

Unsafe version of b32.

nf64back to summary
public static double nf64(long struct)

Unsafe version of f64.

ni64back to summary
public static long ni64(long struct)

Unsafe version of i64.

nu64back to summary
public static long nu64(long struct)

Unsafe version of u64.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
u64back to summary
public long u64()

the unsigned 64-bit integer value if the VkPipelineExecutableStatisticFormatKHR is PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR.

Annotations
@NativeType:uint64_t
org.lwjgl.vulkan back to summary

public Class VkPipelineExecutableStatisticValueKHR.Buffer

extends StructBuffer<VkPipelineExecutableStatisticValueKHR, VkPipelineExecutableStatisticValueKHR.Buffer>
Class Inheritance

An array of VkPipelineExecutableStatisticValueKHR structs.

Field Summary

Modifier and TypeField and Description
private static final VkPipelineExecutableStatisticValueKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkPipelineExecutableStatisticValueKHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the value of the VkPipelineExecutableStatisticValueKHR#b32 field.
b32
()

public double

Returns:

the value of the VkPipelineExecutableStatisticValueKHR#f64 field.
f64
()

protected VkPipelineExecutableStatisticValueKHR
public long

Returns:

the value of the VkPipelineExecutableStatisticValueKHR#i64 field.
i64
()

protected VkPipelineExecutableStatisticValueKHR.Buffer
public long

Returns:

the value of the VkPipelineExecutableStatisticValueKHR#u64 field.
u64
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkPipelineExecutableStatisticValueKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkPipelineExecutableStatisticValueKHR.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPipelineExecutableStatisticValueKHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

b32back to summary
public boolean b32()
Returns:boolean

the value of the VkPipelineExecutableStatisticValueKHR#b32 field.

Annotations
@NativeType:VkBool32
f64back to summary
public double f64()
Returns:double

the value of the VkPipelineExecutableStatisticValueKHR#f64 field.

getElementFactoryback to summary
protected VkPipelineExecutableStatisticValueKHR getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
i64back to summary
public long i64()
Returns:long

the value of the VkPipelineExecutableStatisticValueKHR#i64 field.

Annotations
@NativeType:int64_t
selfback to summary
protected VkPipelineExecutableStatisticValueKHR.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
u64back to summary
public long u64()
Returns:long

the value of the VkPipelineExecutableStatisticValueKHR#u64 field.

Annotations
@NativeType:uint64_t