Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceShaderAtomicFloatFeaturesEXT>
org.lwjgl.vulkan.VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
extends Struct<VkPhysicalDeviceShaderAtomicFloatFeaturesEXT>
implements NativeResource
struct VkPhysicalDeviceShaderAtomicFloatFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 shaderBufferFloat32Atomics;
VkBool32 shaderBufferFloat32AtomicAdd;
VkBool32 shaderBufferFloat64Atomics;
VkBool32 shaderBufferFloat64AtomicAdd;
VkBool32 shaderSharedFloat32Atomics;
VkBool32 shaderSharedFloat32AtomicAdd;
VkBool32 shaderSharedFloat64Atomics;
VkBool32 shaderSharedFloat64AtomicAdd;
VkBool32 shaderImageFloat32Atomics;
VkBool32 shaderImageFloat32AtomicAdd;
VkBool32 sparseImageFloat32Atomics;
VkBool32 sparseImageFloat32AtomicAdd;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
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 size in bytes.static final int
The struct member offsets.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 aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
createSafe
(long address) static @Nullable VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
createSafe
(long address, int capacity) malloc()
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
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
nshaderBufferFloat32AtomicAdd
(long struct) Unsafe version ofshaderBufferFloat32AtomicAdd()
.static void
nshaderBufferFloat32AtomicAdd
(long struct, int value) Unsafe version ofshaderBufferFloat32AtomicAdd
.static int
nshaderBufferFloat32Atomics
(long struct) Unsafe version ofshaderBufferFloat32Atomics()
.static void
nshaderBufferFloat32Atomics
(long struct, int value) Unsafe version ofshaderBufferFloat32Atomics
.static int
nshaderBufferFloat64AtomicAdd
(long struct) Unsafe version ofshaderBufferFloat64AtomicAdd()
.static void
nshaderBufferFloat64AtomicAdd
(long struct, int value) Unsafe version ofshaderBufferFloat64AtomicAdd
.static int
nshaderBufferFloat64Atomics
(long struct) Unsafe version ofshaderBufferFloat64Atomics()
.static void
nshaderBufferFloat64Atomics
(long struct, int value) Unsafe version ofshaderBufferFloat64Atomics
.static int
nshaderImageFloat32AtomicAdd
(long struct) Unsafe version ofshaderImageFloat32AtomicAdd()
.static void
nshaderImageFloat32AtomicAdd
(long struct, int value) Unsafe version ofshaderImageFloat32AtomicAdd
.static int
nshaderImageFloat32Atomics
(long struct) Unsafe version ofshaderImageFloat32Atomics()
.static void
nshaderImageFloat32Atomics
(long struct, int value) Unsafe version ofshaderImageFloat32Atomics
.static int
nshaderSharedFloat32AtomicAdd
(long struct) Unsafe version ofshaderSharedFloat32AtomicAdd()
.static void
nshaderSharedFloat32AtomicAdd
(long struct, int value) Unsafe version ofshaderSharedFloat32AtomicAdd
.static int
nshaderSharedFloat32Atomics
(long struct) Unsafe version ofshaderSharedFloat32Atomics()
.static void
nshaderSharedFloat32Atomics
(long struct, int value) Unsafe version ofshaderSharedFloat32Atomics
.static int
nshaderSharedFloat64AtomicAdd
(long struct) Unsafe version ofshaderSharedFloat64AtomicAdd()
.static void
nshaderSharedFloat64AtomicAdd
(long struct, int value) Unsafe version ofshaderSharedFloat64AtomicAdd
.static int
nshaderSharedFloat64Atomics
(long struct) Unsafe version ofshaderSharedFloat64Atomics()
.static void
nshaderSharedFloat64Atomics
(long struct, int value) Unsafe version ofshaderSharedFloat64Atomics
.static int
nsparseImageFloat32AtomicAdd
(long struct) Unsafe version ofsparseImageFloat32AtomicAdd()
.static void
nsparseImageFloat32AtomicAdd
(long struct, int value) Unsafe version ofsparseImageFloat32AtomicAdd
.static int
nsparseImageFloat32Atomics
(long struct) Unsafe version ofsparseImageFloat32Atomics()
.static void
nsparseImageFloat32Atomics
(long struct, int value) Unsafe version ofsparseImageFloat32Atomics
.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 shaderBufferFloat32Atomics, boolean shaderBufferFloat32AtomicAdd, boolean shaderBufferFloat64Atomics, boolean shaderBufferFloat64AtomicAdd, boolean shaderSharedFloat32Atomics, boolean shaderSharedFloat32AtomicAdd, boolean shaderSharedFloat64Atomics, boolean shaderSharedFloat64AtomicAdd, boolean shaderImageFloat32Atomics, boolean shaderImageFloat32AtomicAdd, boolean sparseImageFloat32Atomics, boolean sparseImageFloat32AtomicAdd) Initializes this struct with the specified values.Copies the specified struct data to this struct.boolean
shaderBufferFloat32AtomicAdd
(boolean value) Sets the specified value to theshaderBufferFloat32AtomicAdd
field.boolean
shaderBufferFloat32Atomics
(boolean value) Sets the specified value to theshaderBufferFloat32Atomics
field.boolean
shaderBufferFloat64AtomicAdd
(boolean value) Sets the specified value to theshaderBufferFloat64AtomicAdd
field.boolean
shaderBufferFloat64Atomics
(boolean value) Sets the specified value to theshaderBufferFloat64Atomics
field.boolean
shaderImageFloat32AtomicAdd
(boolean value) Sets the specified value to theshaderImageFloat32AtomicAdd
field.boolean
shaderImageFloat32Atomics
(boolean value) Sets the specified value to theshaderImageFloat32Atomics
field.boolean
shaderSharedFloat32AtomicAdd
(boolean value) Sets the specified value to theshaderSharedFloat32AtomicAdd
field.boolean
shaderSharedFloat32Atomics
(boolean value) Sets the specified value to theshaderSharedFloat32Atomics
field.boolean
shaderSharedFloat64AtomicAdd
(boolean value) Sets the specified value to theshaderSharedFloat64AtomicAdd
field.boolean
shaderSharedFloat64Atomics
(boolean value) Sets the specified value to theshaderSharedFloat64Atomics
field.int
sizeof()
Returnssizeof(struct)
.boolean
sparseImageFloat32AtomicAdd
(boolean value) Sets the specified value to thesparseImageFloat32AtomicAdd
field.boolean
sparseImageFloat32Atomics
(boolean value) Sets the specified value to thesparseImageFloat32Atomics
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_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. -
SHADERBUFFERFLOAT32ATOMICS
public static final int SHADERBUFFERFLOAT32ATOMICSThe struct member offsets. -
SHADERBUFFERFLOAT32ATOMICADD
public static final int SHADERBUFFERFLOAT32ATOMICADDThe struct member offsets. -
SHADERBUFFERFLOAT64ATOMICS
public static final int SHADERBUFFERFLOAT64ATOMICSThe struct member offsets. -
SHADERBUFFERFLOAT64ATOMICADD
public static final int SHADERBUFFERFLOAT64ATOMICADDThe struct member offsets. -
SHADERSHAREDFLOAT32ATOMICS
public static final int SHADERSHAREDFLOAT32ATOMICSThe struct member offsets. -
SHADERSHAREDFLOAT32ATOMICADD
public static final int SHADERSHAREDFLOAT32ATOMICADDThe struct member offsets. -
SHADERSHAREDFLOAT64ATOMICS
public static final int SHADERSHAREDFLOAT64ATOMICSThe struct member offsets. -
SHADERSHAREDFLOAT64ATOMICADD
public static final int SHADERSHAREDFLOAT64ATOMICADDThe struct member offsets. -
SHADERIMAGEFLOAT32ATOMICS
public static final int SHADERIMAGEFLOAT32ATOMICSThe struct member offsets. -
SHADERIMAGEFLOAT32ATOMICADD
public static final int SHADERIMAGEFLOAT32ATOMICADDThe struct member offsets. -
SPARSEIMAGEFLOAT32ATOMICS
public static final int SPARSEIMAGEFLOAT32ATOMICSThe struct member offsets. -
SPARSEIMAGEFLOAT32ATOMICADD
public static final int SPARSEIMAGEFLOAT32ATOMICADDThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
Creates aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
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<VkPhysicalDeviceShaderAtomicFloatFeaturesEXT>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
shaderBufferFloat32Atomics
public boolean shaderBufferFloat32Atomics()- Returns:
- the value of the
shaderBufferFloat32Atomics
field.
-
shaderBufferFloat32AtomicAdd
public boolean shaderBufferFloat32AtomicAdd()- Returns:
- the value of the
shaderBufferFloat32AtomicAdd
field.
-
shaderBufferFloat64Atomics
public boolean shaderBufferFloat64Atomics()- Returns:
- the value of the
shaderBufferFloat64Atomics
field.
-
shaderBufferFloat64AtomicAdd
public boolean shaderBufferFloat64AtomicAdd()- Returns:
- the value of the
shaderBufferFloat64AtomicAdd
field.
-
shaderImageFloat32Atomics
public boolean shaderImageFloat32Atomics()- Returns:
- the value of the
shaderImageFloat32Atomics
field.
-
shaderImageFloat32AtomicAdd
public boolean shaderImageFloat32AtomicAdd()- Returns:
- the value of the
shaderImageFloat32AtomicAdd
field.
-
sparseImageFloat32Atomics
public boolean sparseImageFloat32Atomics()- Returns:
- the value of the
sparseImageFloat32Atomics
field.
-
sparseImageFloat32AtomicAdd
public boolean sparseImageFloat32AtomicAdd()- Returns:
- the value of the
sparseImageFloat32AtomicAdd
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
shaderBufferFloat32Atomics
Sets the specified value to theshaderBufferFloat32Atomics
field. -
shaderBufferFloat32AtomicAdd
Sets the specified value to theshaderBufferFloat32AtomicAdd
field. -
shaderBufferFloat64Atomics
Sets the specified value to theshaderBufferFloat64Atomics
field. -
shaderBufferFloat64AtomicAdd
Sets the specified value to theshaderBufferFloat64AtomicAdd
field. -
shaderImageFloat32Atomics
Sets the specified value to theshaderImageFloat32Atomics
field. -
shaderImageFloat32AtomicAdd
Sets the specified value to theshaderImageFloat32AtomicAdd
field. -
sparseImageFloat32Atomics
Sets the specified value to thesparseImageFloat32Atomics
field. -
sparseImageFloat32AtomicAdd
Sets the specified value to thesparseImageFloat32AtomicAdd
field. -
set
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT set(int sType, long pNext, boolean shaderBufferFloat32Atomics, boolean shaderBufferFloat32AtomicAdd, boolean shaderBufferFloat64Atomics, boolean shaderBufferFloat64AtomicAdd, boolean shaderSharedFloat32Atomics, boolean shaderSharedFloat32AtomicAdd, boolean shaderSharedFloat64Atomics, boolean shaderSharedFloat64AtomicAdd, boolean shaderImageFloat32Atomics, boolean shaderImageFloat32AtomicAdd, boolean sparseImageFloat32Atomics, boolean sparseImageFloat32AtomicAdd) Initializes this struct with the specified values. -
set
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT set(VkPhysicalDeviceShaderAtomicFloatFeaturesEXT src) Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated withBufferUtils
. -
create
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer create(long address, int capacity) Create aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceShaderAtomicFloatFeaturesEXT.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()
. -
nshaderBufferFloat32Atomics
public static int nshaderBufferFloat32Atomics(long struct) Unsafe version ofshaderBufferFloat32Atomics()
. -
nshaderBufferFloat32AtomicAdd
public static int nshaderBufferFloat32AtomicAdd(long struct) Unsafe version ofshaderBufferFloat32AtomicAdd()
. -
nshaderBufferFloat64Atomics
public static int nshaderBufferFloat64Atomics(long struct) Unsafe version ofshaderBufferFloat64Atomics()
. -
nshaderBufferFloat64AtomicAdd
public static int nshaderBufferFloat64AtomicAdd(long struct) Unsafe version ofshaderBufferFloat64AtomicAdd()
. -
nshaderImageFloat32Atomics
public static int nshaderImageFloat32Atomics(long struct) Unsafe version ofshaderImageFloat32Atomics()
. -
nshaderImageFloat32AtomicAdd
public static int nshaderImageFloat32AtomicAdd(long struct) Unsafe version ofshaderImageFloat32AtomicAdd()
. -
nsparseImageFloat32Atomics
public static int nsparseImageFloat32Atomics(long struct) Unsafe version ofsparseImageFloat32Atomics()
. -
nsparseImageFloat32AtomicAdd
public static int nsparseImageFloat32AtomicAdd(long struct) Unsafe version ofsparseImageFloat32AtomicAdd()
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
. -
nshaderBufferFloat32Atomics
public static void nshaderBufferFloat32Atomics(long struct, int value) Unsafe version ofshaderBufferFloat32Atomics
. -
nshaderBufferFloat32AtomicAdd
public static void nshaderBufferFloat32AtomicAdd(long struct, int value) Unsafe version ofshaderBufferFloat32AtomicAdd
. -
nshaderBufferFloat64Atomics
public static void nshaderBufferFloat64Atomics(long struct, int value) Unsafe version ofshaderBufferFloat64Atomics
. -
nshaderBufferFloat64AtomicAdd
public static void nshaderBufferFloat64AtomicAdd(long struct, int value) Unsafe version ofshaderBufferFloat64AtomicAdd
. -
nshaderImageFloat32Atomics
public static void nshaderImageFloat32Atomics(long struct, int value) Unsafe version ofshaderImageFloat32Atomics
. -
nshaderImageFloat32AtomicAdd
public static void nshaderImageFloat32AtomicAdd(long struct, int value) Unsafe version ofshaderImageFloat32AtomicAdd
. -
nsparseImageFloat32Atomics
public static void nsparseImageFloat32Atomics(long struct, int value) Unsafe version ofsparseImageFloat32Atomics
. -
nsparseImageFloat32AtomicAdd
public static void nsparseImageFloat32AtomicAdd(long struct, int value) Unsafe version ofsparseImageFloat32AtomicAdd
.
-