Record Class VkPhysicalDeviceFloatControlsProperties
- All Implemented Interfaces:
IPointer,IVkPhysicalDeviceFloatControlsProperties
Represents a pointer to a VkPhysicalDeviceFloatControlsProperties structure in native memory.
Structure
typedef struct VkPhysicalDeviceFloatControlsProperties {
VkStructureType sType;
void* pNext; // optional
VkShaderFloatControlsIndependence denormBehaviorIndependence;
VkShaderFloatControlsIndependence roundingModeIndependence;
VkBool32 shaderSignedZeroInfNanPreserveFloat16;
VkBool32 shaderSignedZeroInfNanPreserveFloat32;
VkBool32 shaderSignedZeroInfNanPreserveFloat64;
VkBool32 shaderDenormPreserveFloat16;
VkBool32 shaderDenormPreserveFloat32;
VkBool32 shaderDenormPreserveFloat64;
VkBool32 shaderDenormFlushToZeroFloat16;
VkBool32 shaderDenormFlushToZeroFloat32;
VkBool32 shaderDenormFlushToZeroFloat64;
VkBool32 shaderRoundingModeRTEFloat16;
VkBool32 shaderRoundingModeRTEFloat32;
VkBool32 shaderRoundingModeRTEFloat64;
VkBool32 shaderRoundingModeRTZFloat16;
VkBool32 shaderRoundingModeRTZFloat32;
VkBool32 shaderRoundingModeRTZFloat64;
} VkPhysicalDeviceFloatControlsProperties;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES
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 recordRepresents a pointer to / an array ofVkPhysicalDeviceFloatControlsPropertiesstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceFloatControlsProperties(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceFloatControlsPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()clone(Arena arena, VkPhysicalDeviceFloatControlsProperties src) intdenormBehaviorIndependence(int value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) introundingModeIndependence(int value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intshaderDenormFlushToZeroFloat16(int value) intshaderDenormFlushToZeroFloat32(int value) intshaderDenormFlushToZeroFloat64(int value) intshaderDenormPreserveFloat16(int value) intshaderDenormPreserveFloat32(int value) intshaderDenormPreserveFloat64(int value) intshaderRoundingModeRTEFloat16(int value) intshaderRoundingModeRTEFloat32(int value) intshaderRoundingModeRTEFloat64(int value) intshaderRoundingModeRTZFloat16(int value) intshaderRoundingModeRTZFloat32(int value) intshaderRoundingModeRTZFloat64(int value) intshaderSignedZeroInfNanPreserveFloat16(int value) intshaderSignedZeroInfNanPreserveFloat32(int value) intshaderSignedZeroInfNanPreserveFloat64(int value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$denormBehaviorIndependence
-
PATH$roundingModeIndependence
-
PATH$shaderSignedZeroInfNanPreserveFloat16
-
PATH$shaderSignedZeroInfNanPreserveFloat32
-
PATH$shaderSignedZeroInfNanPreserveFloat64
-
PATH$shaderDenormPreserveFloat16
-
PATH$shaderDenormPreserveFloat32
-
PATH$shaderDenormPreserveFloat64
-
PATH$shaderDenormFlushToZeroFloat16
-
PATH$shaderDenormFlushToZeroFloat32
-
PATH$shaderDenormFlushToZeroFloat64
-
PATH$shaderRoundingModeRTEFloat16
-
PATH$shaderRoundingModeRTEFloat32
-
PATH$shaderRoundingModeRTEFloat64
-
PATH$shaderRoundingModeRTZFloat16
-
PATH$shaderRoundingModeRTZFloat32
-
PATH$shaderRoundingModeRTZFloat64
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$denormBehaviorIndependence
-
LAYOUT$roundingModeIndependence
-
LAYOUT$shaderSignedZeroInfNanPreserveFloat16
-
LAYOUT$shaderSignedZeroInfNanPreserveFloat32
-
LAYOUT$shaderSignedZeroInfNanPreserveFloat64
-
LAYOUT$shaderDenormPreserveFloat16
-
LAYOUT$shaderDenormPreserveFloat32
-
LAYOUT$shaderDenormPreserveFloat64
-
LAYOUT$shaderDenormFlushToZeroFloat16
-
LAYOUT$shaderDenormFlushToZeroFloat32
-
LAYOUT$shaderDenormFlushToZeroFloat64
-
LAYOUT$shaderRoundingModeRTEFloat16
-
LAYOUT$shaderRoundingModeRTEFloat32
-
LAYOUT$shaderRoundingModeRTEFloat64
-
LAYOUT$shaderRoundingModeRTZFloat16
-
LAYOUT$shaderRoundingModeRTZFloat32
-
LAYOUT$shaderRoundingModeRTZFloat64
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$denormBehaviorIndependence
public static final long SIZE$denormBehaviorIndependence -
SIZE$roundingModeIndependence
public static final long SIZE$roundingModeIndependence -
SIZE$shaderSignedZeroInfNanPreserveFloat16
public static final long SIZE$shaderSignedZeroInfNanPreserveFloat16 -
SIZE$shaderSignedZeroInfNanPreserveFloat32
public static final long SIZE$shaderSignedZeroInfNanPreserveFloat32 -
SIZE$shaderSignedZeroInfNanPreserveFloat64
public static final long SIZE$shaderSignedZeroInfNanPreserveFloat64 -
SIZE$shaderDenormPreserveFloat16
public static final long SIZE$shaderDenormPreserveFloat16 -
SIZE$shaderDenormPreserveFloat32
public static final long SIZE$shaderDenormPreserveFloat32 -
SIZE$shaderDenormPreserveFloat64
public static final long SIZE$shaderDenormPreserveFloat64 -
SIZE$shaderDenormFlushToZeroFloat16
public static final long SIZE$shaderDenormFlushToZeroFloat16 -
SIZE$shaderDenormFlushToZeroFloat32
public static final long SIZE$shaderDenormFlushToZeroFloat32 -
SIZE$shaderDenormFlushToZeroFloat64
public static final long SIZE$shaderDenormFlushToZeroFloat64 -
SIZE$shaderRoundingModeRTEFloat16
public static final long SIZE$shaderRoundingModeRTEFloat16 -
SIZE$shaderRoundingModeRTEFloat32
public static final long SIZE$shaderRoundingModeRTEFloat32 -
SIZE$shaderRoundingModeRTEFloat64
public static final long SIZE$shaderRoundingModeRTEFloat64 -
SIZE$shaderRoundingModeRTZFloat16
public static final long SIZE$shaderRoundingModeRTZFloat16 -
SIZE$shaderRoundingModeRTZFloat32
public static final long SIZE$shaderRoundingModeRTZFloat32 -
SIZE$shaderRoundingModeRTZFloat64
public static final long SIZE$shaderRoundingModeRTZFloat64 -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$denormBehaviorIndependence
public static final long OFFSET$denormBehaviorIndependence -
OFFSET$roundingModeIndependence
public static final long OFFSET$roundingModeIndependence -
OFFSET$shaderSignedZeroInfNanPreserveFloat16
public static final long OFFSET$shaderSignedZeroInfNanPreserveFloat16 -
OFFSET$shaderSignedZeroInfNanPreserveFloat32
public static final long OFFSET$shaderSignedZeroInfNanPreserveFloat32 -
OFFSET$shaderSignedZeroInfNanPreserveFloat64
public static final long OFFSET$shaderSignedZeroInfNanPreserveFloat64 -
OFFSET$shaderDenormPreserveFloat16
public static final long OFFSET$shaderDenormPreserveFloat16 -
OFFSET$shaderDenormPreserveFloat32
public static final long OFFSET$shaderDenormPreserveFloat32 -
OFFSET$shaderDenormPreserveFloat64
public static final long OFFSET$shaderDenormPreserveFloat64 -
OFFSET$shaderDenormFlushToZeroFloat16
public static final long OFFSET$shaderDenormFlushToZeroFloat16 -
OFFSET$shaderDenormFlushToZeroFloat32
public static final long OFFSET$shaderDenormFlushToZeroFloat32 -
OFFSET$shaderDenormFlushToZeroFloat64
public static final long OFFSET$shaderDenormFlushToZeroFloat64 -
OFFSET$shaderRoundingModeRTEFloat16
public static final long OFFSET$shaderRoundingModeRTEFloat16 -
OFFSET$shaderRoundingModeRTEFloat32
public static final long OFFSET$shaderRoundingModeRTEFloat32 -
OFFSET$shaderRoundingModeRTEFloat64
public static final long OFFSET$shaderRoundingModeRTEFloat64 -
OFFSET$shaderRoundingModeRTZFloat16
public static final long OFFSET$shaderRoundingModeRTZFloat16 -
OFFSET$shaderRoundingModeRTZFloat32
public static final long OFFSET$shaderRoundingModeRTZFloat32 -
OFFSET$shaderRoundingModeRTZFloat64
public static final long OFFSET$shaderRoundingModeRTZFloat64
-
-
Constructor Details
-
VkPhysicalDeviceFloatControlsProperties
Creates an instance of aVkPhysicalDeviceFloatControlsPropertiesrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceFloatControlsProperties clone(Arena arena, VkPhysicalDeviceFloatControlsProperties src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkPhysicalDeviceFloatControlsProperties pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
denormBehaviorIndependence
-
denormBehaviorIndependence
public VkPhysicalDeviceFloatControlsProperties denormBehaviorIndependence(@EnumType(VkShaderFloatControlsIndependence.class) int value) -
roundingModeIndependence
-
roundingModeIndependence
public VkPhysicalDeviceFloatControlsProperties roundingModeIndependence(@EnumType(VkShaderFloatControlsIndependence.class) int value) -
shaderSignedZeroInfNanPreserveFloat16
-
shaderSignedZeroInfNanPreserveFloat16
public VkPhysicalDeviceFloatControlsProperties shaderSignedZeroInfNanPreserveFloat16(@NativeType("VkBool32") @Unsigned int value) -
shaderSignedZeroInfNanPreserveFloat32
-
shaderSignedZeroInfNanPreserveFloat32
public VkPhysicalDeviceFloatControlsProperties shaderSignedZeroInfNanPreserveFloat32(@NativeType("VkBool32") @Unsigned int value) -
shaderSignedZeroInfNanPreserveFloat64
-
shaderSignedZeroInfNanPreserveFloat64
public VkPhysicalDeviceFloatControlsProperties shaderSignedZeroInfNanPreserveFloat64(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormPreserveFloat16
-
shaderDenormPreserveFloat16
public VkPhysicalDeviceFloatControlsProperties shaderDenormPreserveFloat16(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormPreserveFloat32
-
shaderDenormPreserveFloat32
public VkPhysicalDeviceFloatControlsProperties shaderDenormPreserveFloat32(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormPreserveFloat64
-
shaderDenormPreserveFloat64
public VkPhysicalDeviceFloatControlsProperties shaderDenormPreserveFloat64(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormFlushToZeroFloat16
-
shaderDenormFlushToZeroFloat16
public VkPhysicalDeviceFloatControlsProperties shaderDenormFlushToZeroFloat16(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormFlushToZeroFloat32
-
shaderDenormFlushToZeroFloat32
public VkPhysicalDeviceFloatControlsProperties shaderDenormFlushToZeroFloat32(@NativeType("VkBool32") @Unsigned int value) -
shaderDenormFlushToZeroFloat64
-
shaderDenormFlushToZeroFloat64
public VkPhysicalDeviceFloatControlsProperties shaderDenormFlushToZeroFloat64(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTEFloat16
-
shaderRoundingModeRTEFloat16
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTEFloat16(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTEFloat32
-
shaderRoundingModeRTEFloat32
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTEFloat32(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTEFloat64
-
shaderRoundingModeRTEFloat64
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTEFloat64(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTZFloat16
-
shaderRoundingModeRTZFloat16
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTZFloat16(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTZFloat32
-
shaderRoundingModeRTZFloat32
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTZFloat32(@NativeType("VkBool32") @Unsigned int value) -
shaderRoundingModeRTZFloat64
-
shaderRoundingModeRTZFloat64
public VkPhysicalDeviceFloatControlsProperties shaderRoundingModeRTZFloat64(@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 thesegmentrecord component.
-