Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT

extends Struct<VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT>
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_float2.
Description

If the VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT 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. VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


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

The struct member offsets.

public static final int
SHADERBUFFERFLOAT16ATOMICMINMAX

The struct member offsets.

public static final int
SHADERBUFFERFLOAT16ATOMICS

The struct member offsets.

public static final int
SHADERBUFFERFLOAT32ATOMICMINMAX

The struct member offsets.

public static final int
SHADERBUFFERFLOAT64ATOMICMINMAX

The struct member offsets.

public static final int
SHADERIMAGEFLOAT32ATOMICMINMAX

The struct member offsets.

public static final int
SHADERSHAREDFLOAT16ATOMICADD

The struct member offsets.

public static final int
SHADERSHAREDFLOAT16ATOMICMINMAX

The struct member offsets.

public static final int
SHADERSHAREDFLOAT16ATOMICS

The struct member offsets.

public static final int
SHADERSHAREDFLOAT32ATOMICMINMAX

The struct member offsets.

public static final int
SHADERSHAREDFLOAT64ATOMICMINMAX

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SPARSEIMAGEFLOAT32ATOMICMINMAX

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
VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
calloc()

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT instance allocated with BufferUtils.

public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
create(long address)

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT instance for the specified memory address.

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer instance at the specified memory.

public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
malloc()

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT instance allocated on the specified MemoryStack.

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

Returns a new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT.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
nshaderBufferFloat16AtomicAdd(long struct, int value)

Unsafe version of shaderBufferFloat16AtomicAdd.

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

Unsafe version of shaderBufferFloat16AtomicMinMax.

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

Unsafe version of shaderBufferFloat16Atomics.

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

Unsafe version of shaderBufferFloat32AtomicMinMax.

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

Unsafe version of shaderBufferFloat64AtomicMinMax.

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

Unsafe version of shaderImageFloat32AtomicMinMax.

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

Unsafe version of shaderSharedFloat16AtomicAdd.

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

Unsafe version of shaderSharedFloat16AtomicMinMax.

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

Unsafe version of shaderSharedFloat16Atomics.

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

Unsafe version of shaderSharedFloat32AtomicMinMax.

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

Unsafe version of shaderSharedFloat64AtomicMinMax.

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

Unsafe version of sparseImageFloat32AtomicMinMax.

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 VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
pNext(long value)

Sets the specified value to the pNext field.

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.

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT

Returns:

this struct
set
(VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderBufferFloat16AtomicAdd()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderBufferFloat16AtomicAdd(boolean value)

Sets the specified value to the shaderBufferFloat16AtomicAdd field.

public boolean
shaderBufferFloat16AtomicMinMax()

indicates whether shaders can perform 16-bit floating-point min and max atomic operations on storage buffers.

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderBufferFloat16AtomicMinMax(boolean value)

Sets the specified value to the shaderBufferFloat16AtomicMinMax field.

public boolean
shaderBufferFloat16Atomics()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderBufferFloat16Atomics(boolean value)

Sets the specified value to the shaderBufferFloat16Atomics field.

public boolean
shaderBufferFloat32AtomicMinMax()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderBufferFloat32AtomicMinMax(boolean value)

Sets the specified value to the shaderBufferFloat32AtomicMinMax field.

public boolean
shaderBufferFloat64AtomicMinMax()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderBufferFloat64AtomicMinMax(boolean value)

Sets the specified value to the shaderBufferFloat64AtomicMinMax field.

public boolean
shaderImageFloat32AtomicMinMax()

indicates whether shaders can perform 32-bit floating-point min and max atomic image operations.

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderImageFloat32AtomicMinMax(boolean value)

Sets the specified value to the shaderImageFloat32AtomicMinMax field.

public boolean
shaderSharedFloat16AtomicAdd()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderSharedFloat16AtomicAdd(boolean value)

Sets the specified value to the shaderSharedFloat16AtomicAdd field.

public boolean
shaderSharedFloat16AtomicMinMax()

indicates whether shaders can perform 16-bit floating-point min and max atomic operations on shared and payload memory.

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderSharedFloat16AtomicMinMax(boolean value)

Sets the specified value to the shaderSharedFloat16AtomicMinMax field.

public boolean
shaderSharedFloat16Atomics()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderSharedFloat16Atomics(boolean value)

Sets the specified value to the shaderSharedFloat16Atomics field.

public boolean
shaderSharedFloat32AtomicMinMax()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderSharedFloat32AtomicMinMax(boolean value)

Sets the specified value to the shaderSharedFloat32AtomicMinMax field.

public boolean
shaderSharedFloat64AtomicMinMax()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
shaderSharedFloat64AtomicMinMax(boolean value)

Sets the specified value to the shaderSharedFloat64AtomicMinMax field.

public int
sizeof()

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

Returns sizeof(struct).
public boolean
sparseImageFloat32AtomicMinMax()

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

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
sparseImageFloat32AtomicMinMax(boolean value)

Sets the specified value to the sparseImageFloat32AtomicMinMax field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
sType(int value)

Sets the specified value to the sType field.

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