Record Class VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
- All Implemented Interfaces:
IPointer
,IVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
Represents a pointer to a VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
structure in native memory.
Structure
typedef struct VkPhysicalDeviceShaderAtomicFloatFeaturesEXT {
VkStructureType
sType
;
void* pNext
; // optional
VkBool32 shaderBufferFloat32Atomics
;
VkBool32 shaderBufferFloat32AtomicAdd
;
VkBool32 shaderBufferFloat64Atomics
;
VkBool32 shaderBufferFloat64AtomicAdd
;
VkBool32 shaderSharedFloat32Atomics
;
VkBool32 shaderSharedFloat32AtomicAdd
;
VkBool32 shaderSharedFloat64Atomics
;
VkBool32 shaderSharedFloat64AtomicAdd
;
VkBool32 shaderImageFloat32Atomics
;
VkBool32 shaderImageFloat32AtomicAdd
;
VkBool32 sparseImageFloat32Atomics
;
VkBool32 sparseImageFloat32AtomicAdd
;
} VkPhysicalDeviceShaderAtomicFloatFeaturesEXT;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkPhysicalDeviceShaderAtomicFloatFeaturesEXT src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
shaderBufferFloat32AtomicAdd
(int value) int
shaderBufferFloat32Atomics
(int value) int
shaderBufferFloat64AtomicAdd
(int value) int
shaderBufferFloat64Atomics
(int value) int
shaderImageFloat32AtomicAdd
(int value) int
shaderImageFloat32Atomics
(int value) int
shaderSharedFloat32AtomicAdd
(int value) int
shaderSharedFloat32Atomics
(int value) int
shaderSharedFloat64AtomicAdd
(int value) int
shaderSharedFloat64Atomics
(int value) int
sparseImageFloat32AtomicAdd
(int value) int
sparseImageFloat32Atomics
(int value) int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$shaderBufferFloat32Atomics
-
PATH$shaderBufferFloat32AtomicAdd
-
PATH$shaderBufferFloat64Atomics
-
PATH$shaderBufferFloat64AtomicAdd
-
PATH$shaderImageFloat32Atomics
-
PATH$shaderImageFloat32AtomicAdd
-
PATH$sparseImageFloat32Atomics
-
PATH$sparseImageFloat32AtomicAdd
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$shaderBufferFloat32Atomics
-
LAYOUT$shaderBufferFloat32AtomicAdd
-
LAYOUT$shaderBufferFloat64Atomics
-
LAYOUT$shaderBufferFloat64AtomicAdd
-
LAYOUT$shaderImageFloat32Atomics
-
LAYOUT$shaderImageFloat32AtomicAdd
-
LAYOUT$sparseImageFloat32Atomics
-
LAYOUT$sparseImageFloat32AtomicAdd
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$shaderBufferFloat32Atomics
public static final long SIZE$shaderBufferFloat32Atomics -
SIZE$shaderBufferFloat32AtomicAdd
public static final long SIZE$shaderBufferFloat32AtomicAdd -
SIZE$shaderBufferFloat64Atomics
public static final long SIZE$shaderBufferFloat64Atomics -
SIZE$shaderBufferFloat64AtomicAdd
public static final long SIZE$shaderBufferFloat64AtomicAdd -
SIZE$shaderImageFloat32Atomics
public static final long SIZE$shaderImageFloat32Atomics -
SIZE$shaderImageFloat32AtomicAdd
public static final long SIZE$shaderImageFloat32AtomicAdd -
SIZE$sparseImageFloat32Atomics
public static final long SIZE$sparseImageFloat32Atomics -
SIZE$sparseImageFloat32AtomicAdd
public static final long SIZE$sparseImageFloat32AtomicAdd -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$shaderBufferFloat32Atomics
public static final long OFFSET$shaderBufferFloat32Atomics -
OFFSET$shaderBufferFloat32AtomicAdd
public static final long OFFSET$shaderBufferFloat32AtomicAdd -
OFFSET$shaderBufferFloat64Atomics
public static final long OFFSET$shaderBufferFloat64Atomics -
OFFSET$shaderBufferFloat64AtomicAdd
public static final long OFFSET$shaderBufferFloat64AtomicAdd -
OFFSET$shaderImageFloat32Atomics
public static final long OFFSET$shaderImageFloat32Atomics -
OFFSET$shaderImageFloat32AtomicAdd
public static final long OFFSET$shaderImageFloat32AtomicAdd -
OFFSET$sparseImageFloat32Atomics
public static final long OFFSET$sparseImageFloat32Atomics -
OFFSET$sparseImageFloat32AtomicAdd
public static final long OFFSET$sparseImageFloat32AtomicAdd
-
-
Constructor Details
-
VkPhysicalDeviceShaderAtomicFloatFeaturesEXT
Creates an instance of aVkPhysicalDeviceShaderAtomicFloatFeaturesEXT
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceShaderAtomicFloatFeaturesEXT clone(Arena arena, VkPhysicalDeviceShaderAtomicFloatFeaturesEXT src) -
autoInit
public void autoInit() -
sType
-
sType
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
-
shaderBufferFloat32Atomics
-
shaderBufferFloat32Atomics
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderBufferFloat32Atomics(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat32AtomicAdd
-
shaderBufferFloat32AtomicAdd
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderBufferFloat32AtomicAdd(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat64Atomics
-
shaderBufferFloat64Atomics
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderBufferFloat64Atomics(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat64AtomicAdd
-
shaderBufferFloat64AtomicAdd
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderBufferFloat64AtomicAdd(@NativeType("VkBool32") @Unsigned int value) -
shaderImageFloat32Atomics
-
shaderImageFloat32Atomics
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderImageFloat32Atomics(@NativeType("VkBool32") @Unsigned int value) -
shaderImageFloat32AtomicAdd
-
shaderImageFloat32AtomicAdd
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT shaderImageFloat32AtomicAdd(@NativeType("VkBool32") @Unsigned int value) -
sparseImageFloat32Atomics
-
sparseImageFloat32Atomics
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT sparseImageFloat32Atomics(@NativeType("VkBool32") @Unsigned int value) -
sparseImageFloat32AtomicAdd
-
sparseImageFloat32AtomicAdd
public VkPhysicalDeviceShaderAtomicFloatFeaturesEXT sparseImageFloat32AtomicAdd(@NativeType("VkBool32") @Unsigned int value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-