Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT>
org.lwjgl.vulkan.VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
extends Struct<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT>
implements NativeResource
struct VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 shaderBufferFloat16Atomics;
VkBool32 shaderBufferFloat16AtomicAdd;
VkBool32 shaderBufferFloat16AtomicMinMax;
VkBool32 shaderBufferFloat32AtomicMinMax;
VkBool32 shaderBufferFloat64AtomicMinMax;
VkBool32 shaderSharedFloat16Atomics;
VkBool32 shaderSharedFloat16AtomicAdd;
VkBool32 shaderSharedFloat16AtomicMinMax;
VkBool32 shaderSharedFloat32AtomicMinMax;
VkBool32 shaderSharedFloat64AtomicMinMax;
VkBool32 shaderImageFloat32AtomicMinMax;
VkBool32 sparseImageFloat32AtomicMinMax;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTstructs.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 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 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.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
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceShaderAtomicFloat2FeaturesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnshaderBufferFloat16AtomicAdd(long struct) Unsafe version ofshaderBufferFloat16AtomicAdd().static voidnshaderBufferFloat16AtomicAdd(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicAdd.static intnshaderBufferFloat16AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat16AtomicMinMax().static voidnshaderBufferFloat16AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicMinMax.static intnshaderBufferFloat16Atomics(long struct) Unsafe version ofshaderBufferFloat16Atomics().static voidnshaderBufferFloat16Atomics(long struct, int value) Unsafe version ofshaderBufferFloat16Atomics.static intnshaderBufferFloat32AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat32AtomicMinMax().static voidnshaderBufferFloat32AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat32AtomicMinMax.static intnshaderBufferFloat64AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat64AtomicMinMax().static voidnshaderBufferFloat64AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat64AtomicMinMax.static intnshaderImageFloat32AtomicMinMax(long struct) Unsafe version ofshaderImageFloat32AtomicMinMax().static voidnshaderImageFloat32AtomicMinMax(long struct, int value) Unsafe version ofshaderImageFloat32AtomicMinMax.static intnshaderSharedFloat16AtomicAdd(long struct) Unsafe version ofshaderSharedFloat16AtomicAdd().static voidnshaderSharedFloat16AtomicAdd(long struct, int value) Unsafe version ofshaderSharedFloat16AtomicAdd.static intnshaderSharedFloat16AtomicMinMax(long struct) Unsafe version ofshaderSharedFloat16AtomicMinMax().static voidnshaderSharedFloat16AtomicMinMax(long struct, int value) Unsafe version ofshaderSharedFloat16AtomicMinMax.static intnshaderSharedFloat16Atomics(long struct) Unsafe version ofshaderSharedFloat16Atomics().static voidnshaderSharedFloat16Atomics(long struct, int value) Unsafe version ofshaderSharedFloat16Atomics.static intnshaderSharedFloat32AtomicMinMax(long struct) Unsafe version ofshaderSharedFloat32AtomicMinMax().static voidnshaderSharedFloat32AtomicMinMax(long struct, int value) Unsafe version ofshaderSharedFloat32AtomicMinMax.static intnshaderSharedFloat64AtomicMinMax(long struct) Unsafe version ofshaderSharedFloat64AtomicMinMax().static voidnshaderSharedFloat64AtomicMinMax(long struct, int value) Unsafe version ofshaderSharedFloat64AtomicMinMax.static intnsparseImageFloat32AtomicMinMax(long struct) Unsafe version ofsparseImageFloat32AtomicMinMax().static voidnsparseImageFloat32AtomicMinMax(long struct, int value) Unsafe version ofsparseImageFloat32AtomicMinMax.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 shaderBufferFloat16Atomics, boolean shaderBufferFloat16AtomicAdd, boolean shaderBufferFloat16AtomicMinMax, boolean shaderBufferFloat32AtomicMinMax, boolean shaderBufferFloat64AtomicMinMax, boolean shaderSharedFloat16Atomics, boolean shaderSharedFloat16AtomicAdd, boolean shaderSharedFloat16AtomicMinMax, boolean shaderSharedFloat32AtomicMinMax, boolean shaderSharedFloat64AtomicMinMax, boolean shaderImageFloat32AtomicMinMax, boolean sparseImageFloat32AtomicMinMax) Initializes this struct with the specified values.Copies the specified struct data to this struct.booleanshaderBufferFloat16AtomicAdd(boolean value) Sets the specified value to theshaderBufferFloat16AtomicAddfield.booleanshaderBufferFloat16AtomicMinMax(boolean value) Sets the specified value to theshaderBufferFloat16AtomicMinMaxfield.booleanshaderBufferFloat16Atomics(boolean value) Sets the specified value to theshaderBufferFloat16Atomicsfield.booleanshaderBufferFloat32AtomicMinMax(boolean value) Sets the specified value to theshaderBufferFloat32AtomicMinMaxfield.booleanshaderBufferFloat64AtomicMinMax(boolean value) Sets the specified value to theshaderBufferFloat64AtomicMinMaxfield.booleanshaderImageFloat32AtomicMinMax(boolean value) Sets the specified value to theshaderImageFloat32AtomicMinMaxfield.booleanshaderSharedFloat16AtomicAdd(boolean value) Sets the specified value to theshaderSharedFloat16AtomicAddfield.booleanshaderSharedFloat16AtomicMinMax(boolean value) Sets the specified value to theshaderSharedFloat16AtomicMinMaxfield.booleanshaderSharedFloat16Atomics(boolean value) Sets the specified value to theshaderSharedFloat16Atomicsfield.booleanshaderSharedFloat32AtomicMinMax(boolean value) Sets the specified value to theshaderSharedFloat32AtomicMinMaxfield.booleanshaderSharedFloat64AtomicMinMax(boolean value) Sets the specified value to theshaderSharedFloat64AtomicMinMaxfield.intsizeof()Returnssizeof(struct).booleansparseImageFloat32AtomicMinMax(boolean value) Sets the specified value to thesparseImageFloat32AtomicMinMaxfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXTvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.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. -
SHADERBUFFERFLOAT16ATOMICS
public static final int SHADERBUFFERFLOAT16ATOMICSThe struct member offsets. -
SHADERBUFFERFLOAT16ATOMICADD
public static final int SHADERBUFFERFLOAT16ATOMICADDThe struct member offsets. -
SHADERBUFFERFLOAT16ATOMICMINMAX
public static final int SHADERBUFFERFLOAT16ATOMICMINMAXThe struct member offsets. -
SHADERBUFFERFLOAT32ATOMICMINMAX
public static final int SHADERBUFFERFLOAT32ATOMICMINMAXThe struct member offsets. -
SHADERBUFFERFLOAT64ATOMICMINMAX
public static final int SHADERBUFFERFLOAT64ATOMICMINMAXThe struct member offsets. -
SHADERSHAREDFLOAT16ATOMICS
public static final int SHADERSHAREDFLOAT16ATOMICSThe struct member offsets. -
SHADERSHAREDFLOAT16ATOMICADD
public static final int SHADERSHAREDFLOAT16ATOMICADDThe struct member offsets. -
SHADERSHAREDFLOAT16ATOMICMINMAX
public static final int SHADERSHAREDFLOAT16ATOMICMINMAXThe struct member offsets. -
SHADERSHAREDFLOAT32ATOMICMINMAX
public static final int SHADERSHAREDFLOAT32ATOMICMINMAXThe struct member offsets. -
SHADERSHAREDFLOAT64ATOMICMINMAX
public static final int SHADERSHAREDFLOAT64ATOMICMINMAXThe struct member offsets. -
SHADERIMAGEFLOAT32ATOMICMINMAX
public static final int SHADERIMAGEFLOAT32ATOMICMINMAXThe struct member offsets. -
SPARSEIMAGEFLOAT32ATOMICMINMAX
public static final int SPARSEIMAGEFLOAT32ATOMICMINMAXThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
Creates aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance 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<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
shaderBufferFloat16Atomics
public boolean shaderBufferFloat16Atomics()- Returns:
- the value of the
shaderBufferFloat16Atomicsfield.
-
shaderBufferFloat16AtomicAdd
public boolean shaderBufferFloat16AtomicAdd()- Returns:
- the value of the
shaderBufferFloat16AtomicAddfield.
-
shaderBufferFloat16AtomicMinMax
public boolean shaderBufferFloat16AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat16AtomicMinMaxfield.
-
shaderBufferFloat32AtomicMinMax
public boolean shaderBufferFloat32AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat32AtomicMinMaxfield.
-
shaderBufferFloat64AtomicMinMax
public boolean shaderBufferFloat64AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat64AtomicMinMaxfield.
-
shaderImageFloat32AtomicMinMax
public boolean shaderImageFloat32AtomicMinMax()- Returns:
- the value of the
shaderImageFloat32AtomicMinMaxfield.
-
sparseImageFloat32AtomicMinMax
public boolean sparseImageFloat32AtomicMinMax()- Returns:
- the value of the
sparseImageFloat32AtomicMinMaxfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXTvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
shaderBufferFloat16Atomics
Sets the specified value to theshaderBufferFloat16Atomicsfield. -
shaderBufferFloat16AtomicAdd
Sets the specified value to theshaderBufferFloat16AtomicAddfield. -
shaderBufferFloat16AtomicMinMax
Sets the specified value to theshaderBufferFloat16AtomicMinMaxfield. -
shaderBufferFloat32AtomicMinMax
Sets the specified value to theshaderBufferFloat32AtomicMinMaxfield. -
shaderBufferFloat64AtomicMinMax
Sets the specified value to theshaderBufferFloat64AtomicMinMaxfield. -
shaderImageFloat32AtomicMinMax
Sets the specified value to theshaderImageFloat32AtomicMinMaxfield. -
sparseImageFloat32AtomicMinMax
Sets the specified value to thesparseImageFloat32AtomicMinMaxfield. -
set
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT set(int sType, long pNext, boolean shaderBufferFloat16Atomics, boolean shaderBufferFloat16AtomicAdd, boolean shaderBufferFloat16AtomicMinMax, boolean shaderBufferFloat32AtomicMinMax, boolean shaderBufferFloat64AtomicMinMax, boolean shaderSharedFloat16Atomics, boolean shaderSharedFloat16AtomicAdd, boolean shaderSharedFloat16AtomicMinMax, boolean shaderSharedFloat32AtomicMinMax, boolean shaderSharedFloat64AtomicMinMax, boolean shaderImageFloat32AtomicMinMax, boolean sparseImageFloat32AtomicMinMax) Initializes this struct with the specified values. -
set
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT set(VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer create(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.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(). -
nshaderBufferFloat16Atomics
public static int nshaderBufferFloat16Atomics(long struct) Unsafe version ofshaderBufferFloat16Atomics(). -
nshaderBufferFloat16AtomicAdd
public static int nshaderBufferFloat16AtomicAdd(long struct) Unsafe version ofshaderBufferFloat16AtomicAdd(). -
nshaderBufferFloat16AtomicMinMax
public static int nshaderBufferFloat16AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat16AtomicMinMax(). -
nshaderBufferFloat32AtomicMinMax
public static int nshaderBufferFloat32AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat32AtomicMinMax(). -
nshaderBufferFloat64AtomicMinMax
public static int nshaderBufferFloat64AtomicMinMax(long struct) Unsafe version ofshaderBufferFloat64AtomicMinMax(). -
nshaderImageFloat32AtomicMinMax
public static int nshaderImageFloat32AtomicMinMax(long struct) Unsafe version ofshaderImageFloat32AtomicMinMax(). -
nsparseImageFloat32AtomicMinMax
public static int nsparseImageFloat32AtomicMinMax(long struct) Unsafe version ofsparseImageFloat32AtomicMinMax(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nshaderBufferFloat16Atomics
public static void nshaderBufferFloat16Atomics(long struct, int value) Unsafe version ofshaderBufferFloat16Atomics. -
nshaderBufferFloat16AtomicAdd
public static void nshaderBufferFloat16AtomicAdd(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicAdd. -
nshaderBufferFloat16AtomicMinMax
public static void nshaderBufferFloat16AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicMinMax. -
nshaderBufferFloat32AtomicMinMax
public static void nshaderBufferFloat32AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat32AtomicMinMax. -
nshaderBufferFloat64AtomicMinMax
public static void nshaderBufferFloat64AtomicMinMax(long struct, int value) Unsafe version ofshaderBufferFloat64AtomicMinMax. -
nshaderImageFloat32AtomicMinMax
public static void nshaderImageFloat32AtomicMinMax(long struct, int value) Unsafe version ofshaderImageFloat32AtomicMinMax. -
nsparseImageFloat32AtomicMinMax
public static void nsparseImageFloat32AtomicMinMax(long struct, int value) Unsafe version ofsparseImageFloat32AtomicMinMax.
-