Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderAtomicInt64Features
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderAtomicInt64Features
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceShaderAtomicInt64FeaturesKHR
public class VkPhysicalDeviceShaderAtomicInt64Features extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing features supported by VK_KHR_shader_atomic_int64.Description
If the
VkPhysicalDeviceShaderAtomicInt64Featuresstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceShaderAtomicInt64Featurescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceShaderAtomicInt64Features { VkStructureTypesType(); void *pNext(); VkBool32shaderBufferInt64Atomics(); VkBool32shaderSharedInt64Atomics(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderAtomicInt64Features.BufferAn array ofVkPhysicalDeviceShaderAtomicInt64Featuresstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SHADERBUFFERINT64ATOMICS
SHADERSHAREDINT64ATOMICSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderAtomicInt64Features(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderAtomicInt64Featuresinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderAtomicInt64Featurescalloc()Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withmemCalloc.static VkPhysicalDeviceShaderAtomicInt64Features.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderAtomicInt64Features.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderAtomicInt64Featurescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderAtomicInt64Featurescreate()Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withBufferUtils.static VkPhysicalDeviceShaderAtomicInt64Features.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderAtomicInt64Featurescreate(long address)Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance for the specified memory address.static VkPhysicalDeviceShaderAtomicInt64Features.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderAtomicInt64FeaturescreateSafe(long address)static VkPhysicalDeviceShaderAtomicInt64Features.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderAtomicInt64Featuresmalloc()Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withmemAlloc.static VkPhysicalDeviceShaderAtomicInt64Features.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderAtomicInt64Features.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderAtomicInt64Featuresmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderBufferInt64Atomics(long struct)Unsafe version ofshaderBufferInt64Atomics().static voidnshaderBufferInt64Atomics(long struct, int value)Unsafe version ofshaderBufferInt64Atomics.static intnshaderSharedInt64Atomics(long struct)Unsafe version ofshaderSharedInt64Atomics().static voidnshaderSharedInt64Atomics(long struct, int value)Unsafe version ofshaderSharedInt64Atomics.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.VkPhysicalDeviceShaderAtomicInt64FeaturespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceShaderAtomicInt64Featuresset(int sType, long pNext, boolean shaderBufferInt64Atomics, boolean shaderSharedInt64Atomics)Initializes this struct with the specified values.VkPhysicalDeviceShaderAtomicInt64Featuresset(VkPhysicalDeviceShaderAtomicInt64Features src)Copies the specified struct data to this struct.booleanshaderBufferInt64Atomics()indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on buffers.VkPhysicalDeviceShaderAtomicInt64FeaturesshaderBufferInt64Atomics(boolean value)Sets the specified value to theshaderBufferInt64Atomics()field.booleanshaderSharedInt64Atomics()indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on shared memory.VkPhysicalDeviceShaderAtomicInt64FeaturesshaderSharedInt64Atomics(boolean value)Sets the specified value to theshaderSharedInt64Atomics()field.intsizeof()intsType()the type of this structure.VkPhysicalDeviceShaderAtomicInt64FeaturessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceShaderAtomicInt64FeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderAtomicInt64Features
public VkPhysicalDeviceShaderAtomicInt64Features(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderAtomicInt64Featuresinstance 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.
-
shaderBufferInt64Atomics
public boolean shaderBufferInt64Atomics()
indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on buffers.
-
shaderSharedInt64Atomics
public boolean shaderSharedInt64Atomics()
indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on shared memory.
-
sType
public VkPhysicalDeviceShaderAtomicInt64Features sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceShaderAtomicInt64Features sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceShaderAtomicInt64Features pNext(long value)
Sets the specified value to thepNext()field.
-
shaderBufferInt64Atomics
public VkPhysicalDeviceShaderAtomicInt64Features shaderBufferInt64Atomics(boolean value)
Sets the specified value to theshaderBufferInt64Atomics()field.
-
shaderSharedInt64Atomics
public VkPhysicalDeviceShaderAtomicInt64Features shaderSharedInt64Atomics(boolean value)
Sets the specified value to theshaderSharedInt64Atomics()field.
-
set
public VkPhysicalDeviceShaderAtomicInt64Features set(int sType, long pNext, boolean shaderBufferInt64Atomics, boolean shaderSharedInt64Atomics)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceShaderAtomicInt64Features set(VkPhysicalDeviceShaderAtomicInt64Features src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderAtomicInt64Features malloc()
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderAtomicInt64Features calloc()
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderAtomicInt64Features create()
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderAtomicInt64Features create(long address)
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderAtomicInt64Features createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderAtomicInt64Features malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderAtomicInt64Features calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderAtomicInt64Featuresinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderAtomicInt64Features.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderAtomicInt64Features.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderAtomicInt64Features.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().
-
nshaderBufferInt64Atomics
public static int nshaderBufferInt64Atomics(long struct)
Unsafe version ofshaderBufferInt64Atomics().
-
nshaderSharedInt64Atomics
public static int nshaderSharedInt64Atomics(long struct)
Unsafe version ofshaderSharedInt64Atomics().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nshaderBufferInt64Atomics
public static void nshaderBufferInt64Atomics(long struct, int value)Unsafe version ofshaderBufferInt64Atomics.
-
nshaderSharedInt64Atomics
public static void nshaderSharedInt64Atomics(long struct, int value)Unsafe version ofshaderSharedInt64Atomics.
-
-