Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceShaderAtomicFloatFeaturesEXT

extends Struct<VkPhysicalDeviceShaderAtomicFloatFeaturesEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing features supported by VK_EXT_shader_atomic_float.
Description

If the VkPhysicalDeviceShaderAtomicFloatFeaturesEXT structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceShaderAtomicFloatFeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


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 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
PNEXT

The struct member offsets.

public static final int
SHADERBUFFERFLOAT32ATOMICADD

The struct member offsets.

public static final int
SHADERBUFFERFLOAT32ATOMICS

The struct member offsets.

public static final int
SHADERBUFFERFLOAT64ATOMICADD

The struct member offsets.

public static final int
SHADERBUFFERFLOAT64ATOMICS

The struct member offsets.

public static final int
SHADERIMAGEFLOAT32ATOMICADD

The struct member offsets.

public static final int
SHADERIMAGEFLOAT32ATOMICS

The struct member offsets.

public static final int
SHADERSHAREDFLOAT32ATOMICADD

The struct member offsets.

public static final int
SHADERSHAREDFLOAT32ATOMICS

The struct member offsets.

public static final int
SHADERSHAREDFLOAT64ATOMICADD

The struct member offsets.

public static final int
SHADERSHAREDFLOAT64ATOMICS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SPARSEIMAGEFLOAT32ATOMICADD

The struct member offsets.

public static final int
SPARSEIMAGEFLOAT32ATOMICS

The struct member offsets.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceShaderAtomicFloatFeaturesEXT(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
calloc()

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance allocated with memCalloc.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
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 VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
create()

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance allocated with BufferUtils.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
create(long address)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance for the specified memory address.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance at the specified memory.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
malloc()

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance allocated with memAlloc.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT.Buffer instance allocated on the specified MemoryStack.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
public static void
nshaderBufferFloat32AtomicAdd(long struct, int value)

Unsafe version of shaderBufferFloat32AtomicAdd.

public static int
public static void
nshaderBufferFloat32Atomics(long struct, int value)

Unsafe version of shaderBufferFloat32Atomics.

public static int
public static void
nshaderBufferFloat64AtomicAdd(long struct, int value)

Unsafe version of shaderBufferFloat64AtomicAdd.

public static int
public static void
nshaderBufferFloat64Atomics(long struct, int value)

Unsafe version of shaderBufferFloat64Atomics.

public static int
public static void
nshaderImageFloat32AtomicAdd(long struct, int value)

Unsafe version of shaderImageFloat32AtomicAdd.

public static int
public static void
nshaderImageFloat32Atomics(long struct, int value)

Unsafe version of shaderImageFloat32Atomics.

public static int
public static void
nshaderSharedFloat32AtomicAdd(long struct, int value)

Unsafe version of shaderSharedFloat32AtomicAdd.

public static int
public static void
nshaderSharedFloat32Atomics(long struct, int value)

Unsafe version of shaderSharedFloat32Atomics.

public static int
public static void
nshaderSharedFloat64AtomicAdd(long struct, int value)

Unsafe version of shaderSharedFloat64AtomicAdd.

public static int
public static void
nshaderSharedFloat64Atomics(long struct, int value)

Unsafe version of shaderSharedFloat64Atomics.

public static int
public static void
nsparseImageFloat32AtomicAdd(long struct, int value)

Unsafe version of sparseImageFloat32AtomicAdd.

public static int
public static void
nsparseImageFloat32Atomics(long struct, int value)

Unsafe version of sparseImageFloat32Atomics.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
pNext(long value)

Sets the specified value to the pNext field.

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.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT

Returns:

this struct
set
(VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderBufferFloat32AtomicAdd()

indicates whether shaders can perform 32-bit floating-point add atomic operations on storage buffers.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderBufferFloat32AtomicAdd(boolean value)

Sets the specified value to the shaderBufferFloat32AtomicAdd field.

public boolean
shaderBufferFloat32Atomics()

indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic operations on storage buffers.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderBufferFloat32Atomics(boolean value)

Sets the specified value to the shaderBufferFloat32Atomics field.

public boolean
shaderBufferFloat64AtomicAdd()

indicates whether shaders can perform 64-bit floating-point add atomic operations on storage buffers.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderBufferFloat64AtomicAdd(boolean value)

Sets the specified value to the shaderBufferFloat64AtomicAdd field.

public boolean
shaderBufferFloat64Atomics()

indicates whether shaders can perform 64-bit floating-point load, store and exchange atomic operations on storage buffers.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderBufferFloat64Atomics(boolean value)

Sets the specified value to the shaderBufferFloat64Atomics field.

public boolean
shaderImageFloat32AtomicAdd()

indicates whether shaders can perform 32-bit floating-point add atomic image operations.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderImageFloat32AtomicAdd(boolean value)

Sets the specified value to the shaderImageFloat32AtomicAdd field.

public boolean
shaderImageFloat32Atomics()

indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic image operations.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderImageFloat32Atomics(boolean value)

Sets the specified value to the shaderImageFloat32Atomics field.

public boolean
shaderSharedFloat32AtomicAdd()

indicates whether shaders can perform 32-bit floating-point add atomic operations on shared and payload memory.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderSharedFloat32AtomicAdd(boolean value)

Sets the specified value to the shaderSharedFloat32AtomicAdd field.

public boolean
shaderSharedFloat32Atomics()

indicates whether shaders can perform 32-bit floating-point load, store and exchange atomic operations on shared and payload memory.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderSharedFloat32Atomics(boolean value)

Sets the specified value to the shaderSharedFloat32Atomics field.

public boolean
shaderSharedFloat64AtomicAdd()

indicates whether shaders can perform 64-bit floating-point add atomic operations on shared and payload memory.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderSharedFloat64AtomicAdd(boolean value)

Sets the specified value to the shaderSharedFloat64AtomicAdd field.

public boolean
shaderSharedFloat64Atomics()

indicates whether shaders can perform 64-bit floating-point load, store and exchange atomic operations on shared and payload memory.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
shaderSharedFloat64Atomics(boolean value)

Sets the specified value to the shaderSharedFloat64Atomics field.

public int
sizeof()

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

Returns sizeof(struct).
public boolean
sparseImageFloat32AtomicAdd()

indicates whether 32-bit floating-point add atomic operations can be used on sparse images.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
sparseImageFloat32AtomicAdd(boolean value)

Sets the specified value to the sparseImageFloat32AtomicAdd field.

public boolean
sparseImageFloat32Atomics()

indicates whether 32-bit floating-point load, store and exchange atomic operations can be used on sparse images.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
sparseImageFloat32Atomics(boolean value)

Sets the specified value to the sparseImageFloat32Atomics field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate