Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing features supported by VK_EXT_shader_image_atomic_int64.Description
If the
VkPhysicalDeviceShaderAtomicInt64FeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceShaderAtomicInt64FeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32shaderImageInt64Atomics(); VkBool32sparseImageInt64Atomics(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.BufferAn array ofVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SHADERIMAGEINT64ATOMICSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSPARSEIMAGEINT64ATOMICS
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTcalloc()Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTcreate()Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTcreateSafe(long address)static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTmalloc()Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderImageInt64Atomics(long struct)Unsafe version ofshaderImageInt64Atomics().static voidnshaderImageInt64Atomics(long struct, int value)Unsafe version ofshaderImageInt64Atomics.static intnsparseImageInt64Atomics(long struct)Unsafe version ofsparseImageInt64Atomics().static voidnsparseImageInt64Atomics(long struct, int value)Unsafe version ofsparseImageInt64Atomics.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTset(int sType, long pNext, boolean shaderImageInt64Atomics, boolean sparseImageInt64Atomics)Initializes this struct with the specified values.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTset(VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT src)Copies the specified struct data to this struct.booleanshaderImageInt64Atomics()indicates whether shaders can support 64-bit unsigned and signed integer atomic operations on images.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTshaderImageInt64Atomics(boolean value)Sets the specified value to theshaderImageInt64Atomics()field.intsizeof()booleansparseImageInt64Atomics()indicates whether 64-bit integer atomics can be used on sparse images.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTsparseImageInt64Atomics(boolean value)Sets the specified value to thesparseImageInt64Atomics()field.intsType()the type of this structure.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
shaderImageInt64Atomics
public boolean shaderImageInt64Atomics()
indicates whether shaders can support 64-bit unsigned and signed integer atomic operations on images.
-
sparseImageInt64Atomics
public boolean sparseImageInt64Atomics()
indicates whether 64-bit integer atomics can be used on sparse images.
-
sType
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
shaderImageInt64Atomics
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT shaderImageInt64Atomics(boolean value)
Sets the specified value to theshaderImageInt64Atomics()field.
-
sparseImageInt64Atomics
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT sparseImageInt64Atomics(boolean value)
Sets the specified value to thesparseImageInt64Atomics()field.
-
set
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT set(int sType, long pNext, boolean shaderImageInt64Atomics, boolean sparseImageInt64Atomics)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT set(VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT malloc()
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT calloc()
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT create()
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT create(long address)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nshaderImageInt64Atomics
public static int nshaderImageInt64Atomics(long struct)
Unsafe version ofshaderImageInt64Atomics().
-
nsparseImageInt64Atomics
public static int nsparseImageInt64Atomics(long struct)
Unsafe version ofsparseImageInt64Atomics().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nshaderImageInt64Atomics
public static void nshaderImageInt64Atomics(long struct, int value)Unsafe version ofshaderImageInt64Atomics.
-
nsparseImageInt64Atomics
public static void nsparseImageInt64Atomics(long struct, int value)Unsafe version ofsparseImageInt64Atomics.
-
-