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 class
An array ofVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
createSafe
(long address) static @Nullable VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated on the specifiedMemoryStack
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static int
nshaderBufferFloat16AtomicAdd
(long struct) Unsafe version ofshaderBufferFloat16AtomicAdd()
.static void
nshaderBufferFloat16AtomicAdd
(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicAdd
.static int
nshaderBufferFloat16AtomicMinMax
(long struct) Unsafe version ofshaderBufferFloat16AtomicMinMax()
.static void
nshaderBufferFloat16AtomicMinMax
(long struct, int value) Unsafe version ofshaderBufferFloat16AtomicMinMax
.static int
nshaderBufferFloat16Atomics
(long struct) Unsafe version ofshaderBufferFloat16Atomics()
.static void
nshaderBufferFloat16Atomics
(long struct, int value) Unsafe version ofshaderBufferFloat16Atomics
.static int
nshaderBufferFloat32AtomicMinMax
(long struct) Unsafe version ofshaderBufferFloat32AtomicMinMax()
.static void
nshaderBufferFloat32AtomicMinMax
(long struct, int value) Unsafe version ofshaderBufferFloat32AtomicMinMax
.static int
nshaderBufferFloat64AtomicMinMax
(long struct) Unsafe version ofshaderBufferFloat64AtomicMinMax()
.static void
nshaderBufferFloat64AtomicMinMax
(long struct, int value) Unsafe version ofshaderBufferFloat64AtomicMinMax
.static int
nshaderImageFloat32AtomicMinMax
(long struct) Unsafe version ofshaderImageFloat32AtomicMinMax()
.static void
nshaderImageFloat32AtomicMinMax
(long struct, int value) Unsafe version ofshaderImageFloat32AtomicMinMax
.static int
nshaderSharedFloat16AtomicAdd
(long struct) Unsafe version ofshaderSharedFloat16AtomicAdd()
.static void
nshaderSharedFloat16AtomicAdd
(long struct, int value) Unsafe version ofshaderSharedFloat16AtomicAdd
.static int
nshaderSharedFloat16AtomicMinMax
(long struct) Unsafe version ofshaderSharedFloat16AtomicMinMax()
.static void
nshaderSharedFloat16AtomicMinMax
(long struct, int value) Unsafe version ofshaderSharedFloat16AtomicMinMax
.static int
nshaderSharedFloat16Atomics
(long struct) Unsafe version ofshaderSharedFloat16Atomics()
.static void
nshaderSharedFloat16Atomics
(long struct, int value) Unsafe version ofshaderSharedFloat16Atomics
.static int
nshaderSharedFloat32AtomicMinMax
(long struct) Unsafe version ofshaderSharedFloat32AtomicMinMax()
.static void
nshaderSharedFloat32AtomicMinMax
(long struct, int value) Unsafe version ofshaderSharedFloat32AtomicMinMax
.static int
nshaderSharedFloat64AtomicMinMax
(long struct) Unsafe version ofshaderSharedFloat64AtomicMinMax()
.static void
nshaderSharedFloat64AtomicMinMax
(long struct, int value) Unsafe version ofshaderSharedFloat64AtomicMinMax
.static int
nsparseImageFloat32AtomicMinMax
(long struct) Unsafe version ofsparseImageFloat32AtomicMinMax()
.static void
nsparseImageFloat32AtomicMinMax
(long struct, int value) Unsafe version ofsparseImageFloat32AtomicMinMax
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.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.boolean
shaderBufferFloat16AtomicAdd
(boolean value) Sets the specified value to theshaderBufferFloat16AtomicAdd
field.boolean
shaderBufferFloat16AtomicMinMax
(boolean value) Sets the specified value to theshaderBufferFloat16AtomicMinMax
field.boolean
shaderBufferFloat16Atomics
(boolean value) Sets the specified value to theshaderBufferFloat16Atomics
field.boolean
shaderBufferFloat32AtomicMinMax
(boolean value) Sets the specified value to theshaderBufferFloat32AtomicMinMax
field.boolean
shaderBufferFloat64AtomicMinMax
(boolean value) Sets the specified value to theshaderBufferFloat64AtomicMinMax
field.boolean
shaderImageFloat32AtomicMinMax
(boolean value) Sets the specified value to theshaderImageFloat32AtomicMinMax
field.boolean
shaderSharedFloat16AtomicAdd
(boolean value) Sets the specified value to theshaderSharedFloat16AtomicAdd
field.boolean
shaderSharedFloat16AtomicMinMax
(boolean value) Sets the specified value to theshaderSharedFloat16AtomicMinMax
field.boolean
shaderSharedFloat16Atomics
(boolean value) Sets the specified value to theshaderSharedFloat16Atomics
field.boolean
shaderSharedFloat32AtomicMinMax
(boolean value) Sets the specified value to theshaderSharedFloat32AtomicMinMax
field.boolean
shaderSharedFloat64AtomicMinMax
(boolean value) Sets the specified value to theshaderSharedFloat64AtomicMinMax
field.int
sizeof()
Returnssizeof(struct)
.boolean
sparseImageFloat32AtomicMinMax
(boolean value) Sets the specified value to thesparseImageFloat32AtomicMinMax
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
shaderBufferFloat16Atomics
public boolean shaderBufferFloat16Atomics()- Returns:
- the value of the
shaderBufferFloat16Atomics
field.
-
shaderBufferFloat16AtomicAdd
public boolean shaderBufferFloat16AtomicAdd()- Returns:
- the value of the
shaderBufferFloat16AtomicAdd
field.
-
shaderBufferFloat16AtomicMinMax
public boolean shaderBufferFloat16AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat16AtomicMinMax
field.
-
shaderBufferFloat32AtomicMinMax
public boolean shaderBufferFloat32AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat32AtomicMinMax
field.
-
shaderBufferFloat64AtomicMinMax
public boolean shaderBufferFloat64AtomicMinMax()- Returns:
- the value of the
shaderBufferFloat64AtomicMinMax
field.
-
shaderImageFloat32AtomicMinMax
public boolean shaderImageFloat32AtomicMinMax()- Returns:
- the value of the
shaderImageFloat32AtomicMinMax
field.
-
sparseImageFloat32AtomicMinMax
public boolean sparseImageFloat32AtomicMinMax()- Returns:
- the value of the
sparseImageFloat32AtomicMinMax
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
shaderBufferFloat16Atomics
Sets the specified value to theshaderBufferFloat16Atomics
field. -
shaderBufferFloat16AtomicAdd
Sets the specified value to theshaderBufferFloat16AtomicAdd
field. -
shaderBufferFloat16AtomicMinMax
Sets the specified value to theshaderBufferFloat16AtomicMinMax
field. -
shaderBufferFloat32AtomicMinMax
Sets the specified value to theshaderBufferFloat32AtomicMinMax
field. -
shaderBufferFloat64AtomicMinMax
Sets the specified value to theshaderBufferFloat64AtomicMinMax
field. -
shaderImageFloat32AtomicMinMax
Sets the specified value to theshaderImageFloat32AtomicMinMax
field. -
sparseImageFloat32AtomicMinMax
Sets the specified value to thesparseImageFloat32AtomicMinMax
field. -
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 newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated withBufferUtils
. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer create(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer
instance 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 newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-