Record Class VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
- All Implemented Interfaces:
IPointer
,IVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
Represents a pointer to a VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
structure in native memory.
Structure
typedef struct VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT {
VkStructureType
sType
;
void* pNext
; // optional
VkBool32 shaderBufferFloat16Atomics
;
VkBool32 shaderBufferFloat16AtomicAdd
;
VkBool32 shaderBufferFloat16AtomicMinMax
;
VkBool32 shaderBufferFloat32AtomicMinMax
;
VkBool32 shaderBufferFloat64AtomicMinMax
;
VkBool32 shaderSharedFloat16Atomics
;
VkBool32 shaderSharedFloat16AtomicAdd
;
VkBool32 shaderSharedFloat16AtomicMinMax
;
VkBool32 shaderSharedFloat32AtomicMinMax
;
VkBool32 shaderSharedFloat64AtomicMinMax
;
VkBool32 shaderImageFloat32AtomicMinMax
;
VkBool32 sparseImageFloat32AtomicMinMax
;
} VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_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 ofVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
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
ConstructorsConstructorDescriptionVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT 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
shaderBufferFloat16AtomicAdd
(int value) int
shaderBufferFloat16AtomicMinMax
(int value) int
shaderBufferFloat16Atomics
(int value) int
shaderBufferFloat32AtomicMinMax
(int value) int
shaderBufferFloat64AtomicMinMax
(int value) int
shaderImageFloat32AtomicMinMax
(int value) int
shaderSharedFloat16AtomicAdd
(int value) int
shaderSharedFloat16AtomicMinMax
(int value) int
shaderSharedFloat16Atomics
(int value) int
shaderSharedFloat32AtomicMinMax
(int value) int
shaderSharedFloat64AtomicMinMax
(int value) int
sparseImageFloat32AtomicMinMax
(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$shaderBufferFloat16Atomics
-
PATH$shaderBufferFloat16AtomicAdd
-
PATH$shaderBufferFloat16AtomicMinMax
-
PATH$shaderBufferFloat32AtomicMinMax
-
PATH$shaderBufferFloat64AtomicMinMax
-
PATH$shaderImageFloat32AtomicMinMax
-
PATH$sparseImageFloat32AtomicMinMax
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$shaderBufferFloat16Atomics
-
LAYOUT$shaderBufferFloat16AtomicAdd
-
LAYOUT$shaderBufferFloat16AtomicMinMax
-
LAYOUT$shaderBufferFloat32AtomicMinMax
-
LAYOUT$shaderBufferFloat64AtomicMinMax
-
LAYOUT$shaderImageFloat32AtomicMinMax
-
LAYOUT$sparseImageFloat32AtomicMinMax
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$shaderBufferFloat16Atomics
public static final long SIZE$shaderBufferFloat16Atomics -
SIZE$shaderBufferFloat16AtomicAdd
public static final long SIZE$shaderBufferFloat16AtomicAdd -
SIZE$shaderBufferFloat16AtomicMinMax
public static final long SIZE$shaderBufferFloat16AtomicMinMax -
SIZE$shaderBufferFloat32AtomicMinMax
public static final long SIZE$shaderBufferFloat32AtomicMinMax -
SIZE$shaderBufferFloat64AtomicMinMax
public static final long SIZE$shaderBufferFloat64AtomicMinMax -
SIZE$shaderImageFloat32AtomicMinMax
public static final long SIZE$shaderImageFloat32AtomicMinMax -
SIZE$sparseImageFloat32AtomicMinMax
public static final long SIZE$sparseImageFloat32AtomicMinMax -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$shaderBufferFloat16Atomics
public static final long OFFSET$shaderBufferFloat16Atomics -
OFFSET$shaderBufferFloat16AtomicAdd
public static final long OFFSET$shaderBufferFloat16AtomicAdd -
OFFSET$shaderBufferFloat16AtomicMinMax
public static final long OFFSET$shaderBufferFloat16AtomicMinMax -
OFFSET$shaderBufferFloat32AtomicMinMax
public static final long OFFSET$shaderBufferFloat32AtomicMinMax -
OFFSET$shaderBufferFloat64AtomicMinMax
public static final long OFFSET$shaderBufferFloat64AtomicMinMax -
OFFSET$shaderImageFloat32AtomicMinMax
public static final long OFFSET$shaderImageFloat32AtomicMinMax -
OFFSET$sparseImageFloat32AtomicMinMax
public static final long OFFSET$sparseImageFloat32AtomicMinMax
-
-
Constructor Details
-
VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
Creates an instance of aVkPhysicalDeviceShaderAtomicFloat2FeaturesEXT
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT clone(Arena arena, VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT src) -
autoInit
public void autoInit() -
sType
-
sType
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
-
shaderBufferFloat16Atomics
-
shaderBufferFloat16Atomics
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderBufferFloat16Atomics(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat16AtomicAdd
-
shaderBufferFloat16AtomicAdd
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderBufferFloat16AtomicAdd(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat16AtomicMinMax
-
shaderBufferFloat16AtomicMinMax
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderBufferFloat16AtomicMinMax(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat32AtomicMinMax
-
shaderBufferFloat32AtomicMinMax
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderBufferFloat32AtomicMinMax(@NativeType("VkBool32") @Unsigned int value) -
shaderBufferFloat64AtomicMinMax
-
shaderBufferFloat64AtomicMinMax
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderBufferFloat64AtomicMinMax(@NativeType("VkBool32") @Unsigned int value) -
shaderImageFloat32AtomicMinMax
-
shaderImageFloat32AtomicMinMax
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT shaderImageFloat32AtomicMinMax(@NativeType("VkBool32") @Unsigned int value) -
sparseImageFloat32AtomicMinMax
-
sparseImageFloat32AtomicMinMax
public VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT sparseImageFloat32AtomicMinMax(@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.
-