Class VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE>
org.lwjgl.vulkan.VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE
extends Struct<VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE>
implements NativeResource
struct VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE {
VkStructureType sType;
void * pNext;
VkBool32 shaderMixedFloatDotProductFloat16AccFloat32;
VkBool32 shaderMixedFloatDotProductFloat16AccFloat16;
VkBool32 shaderMixedFloatDotProductBFloat16Acc;
VkBool32 shaderMixedFloatDotProductFloat8AccFloat32;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface 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 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 Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEcreateSafe(long address) static @Nullable VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnshaderMixedFloatDotProductBFloat16Acc(long struct) Unsafe version ofshaderMixedFloatDotProductBFloat16Acc().static voidnshaderMixedFloatDotProductBFloat16Acc(long struct, int value) Unsafe version ofshaderMixedFloatDotProductBFloat16Acc.static intnshaderMixedFloatDotProductFloat16AccFloat16(long struct) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat16().static voidnshaderMixedFloatDotProductFloat16AccFloat16(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat16.static intnshaderMixedFloatDotProductFloat16AccFloat32(long struct) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat32().static voidnshaderMixedFloatDotProductFloat16AccFloat32(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat32.static intnshaderMixedFloatDotProductFloat8AccFloat32(long struct) Unsafe version ofshaderMixedFloatDotProductFloat8AccFloat32().static voidnshaderMixedFloatDotProductFloat8AccFloat32(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat8AccFloat32.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()pNext(long value) Sets the specified value to thepNextfield.set(int sType, long pNext, boolean shaderMixedFloatDotProductFloat16AccFloat32, boolean shaderMixedFloatDotProductFloat16AccFloat16, boolean shaderMixedFloatDotProductBFloat16Acc, boolean shaderMixedFloatDotProductFloat8AccFloat32) Initializes this struct with the specified values.Copies the specified struct data to this struct.booleanshaderMixedFloatDotProductBFloat16Acc(boolean value) Sets the specified value to theshaderMixedFloatDotProductBFloat16Accfield.booleanshaderMixedFloatDotProductFloat16AccFloat16(boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat16AccFloat16field.booleanshaderMixedFloatDotProductFloat16AccFloat32(boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat16AccFloat32field.booleanshaderMixedFloatDotProductFloat8AccFloat32(boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat8AccFloat32field.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVEvalue to thesTypefield.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
SHADERMIXEDFLOATDOTPRODUCTFLOAT16ACCFLOAT32
public static final int SHADERMIXEDFLOATDOTPRODUCTFLOAT16ACCFLOAT32The struct member offsets. -
SHADERMIXEDFLOATDOTPRODUCTFLOAT16ACCFLOAT16
public static final int SHADERMIXEDFLOATDOTPRODUCTFLOAT16ACCFLOAT16The struct member offsets. -
SHADERMIXEDFLOATDOTPRODUCTBFLOAT16ACC
public static final int SHADERMIXEDFLOATDOTPRODUCTBFLOAT16ACCThe struct member offsets. -
SHADERMIXEDFLOATDOTPRODUCTFLOAT8ACCFLOAT32
public static final int SHADERMIXEDFLOATDOTPRODUCTFLOAT8ACCFLOAT32The struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE
Creates aVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance 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<VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE>
-
sType
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
shaderMixedFloatDotProductFloat16AccFloat32
- Returns:
- the value of the
shaderMixedFloatDotProductFloat16AccFloat32field.
-
shaderMixedFloatDotProductFloat16AccFloat16
- Returns:
- the value of the
shaderMixedFloatDotProductFloat16AccFloat16field.
-
shaderMixedFloatDotProductBFloat16Acc
- Returns:
- the value of the
shaderMixedFloatDotProductBFloat16Accfield.
-
shaderMixedFloatDotProductFloat8AccFloat32
- Returns:
- the value of the
shaderMixedFloatDotProductFloat8AccFloat32field.
-
sType
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE sType(@NativeType("VkStructureType") int value) Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVEvalue to thesTypefield. -
pNext
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE pNext(@NativeType("void *") long value) Sets the specified value to thepNextfield. -
shaderMixedFloatDotProductFloat16AccFloat32
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE shaderMixedFloatDotProductFloat16AccFloat32(@NativeType("VkBool32") boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat16AccFloat32field. -
shaderMixedFloatDotProductFloat16AccFloat16
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE shaderMixedFloatDotProductFloat16AccFloat16(@NativeType("VkBool32") boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat16AccFloat16field. -
shaderMixedFloatDotProductBFloat16Acc
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE shaderMixedFloatDotProductBFloat16Acc(@NativeType("VkBool32") boolean value) Sets the specified value to theshaderMixedFloatDotProductBFloat16Accfield. -
shaderMixedFloatDotProductFloat8AccFloat32
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE shaderMixedFloatDotProductFloat8AccFloat32(@NativeType("VkBool32") boolean value) Sets the specified value to theshaderMixedFloatDotProductFloat8AccFloat32field. -
set
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE set(int sType, long pNext, boolean shaderMixedFloatDotProductFloat16AccFloat32, boolean shaderMixedFloatDotProductFloat16AccFloat16, boolean shaderMixedFloatDotProductBFloat16Acc, boolean shaderMixedFloatDotProductFloat8AccFloat32) Initializes this struct with the specified values. -
set
public VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE set(VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance for the specified memory address. -
createSafe
public static @Nullable VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE createSafe(long address) -
malloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Buffer create(long address, int capacity) Create aVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nshaderMixedFloatDotProductFloat16AccFloat32
public static int nshaderMixedFloatDotProductFloat16AccFloat32(long struct) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat32(). -
nshaderMixedFloatDotProductFloat16AccFloat16
public static int nshaderMixedFloatDotProductFloat16AccFloat16(long struct) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat16(). -
nshaderMixedFloatDotProductBFloat16Acc
public static int nshaderMixedFloatDotProductBFloat16Acc(long struct) Unsafe version ofshaderMixedFloatDotProductBFloat16Acc(). -
nshaderMixedFloatDotProductFloat8AccFloat32
public static int nshaderMixedFloatDotProductFloat8AccFloat32(long struct) Unsafe version ofshaderMixedFloatDotProductFloat8AccFloat32(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nshaderMixedFloatDotProductFloat16AccFloat32
public static void nshaderMixedFloatDotProductFloat16AccFloat32(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat32. -
nshaderMixedFloatDotProductFloat16AccFloat16
public static void nshaderMixedFloatDotProductFloat16AccFloat16(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat16AccFloat16. -
nshaderMixedFloatDotProductBFloat16Acc
public static void nshaderMixedFloatDotProductBFloat16Acc(long struct, int value) Unsafe version ofshaderMixedFloatDotProductBFloat16Acc. -
nshaderMixedFloatDotProductFloat8AccFloat32
public static void nshaderMixedFloatDotProductFloat8AccFloat32(long struct, int value) Unsafe version ofshaderMixedFloatDotProductFloat8AccFloat32.
-