Package org.lwjgl.vulkan
Class VkPhysicalDeviceFloatControlsProperties
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceFloatControlsProperties>
org.lwjgl.vulkan.VkPhysicalDeviceFloatControlsProperties
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
- Direct Known Subclasses:
VkPhysicalDeviceFloatControlsPropertiesKHR
public class VkPhysicalDeviceFloatControlsProperties
extends Struct<VkPhysicalDeviceFloatControlsProperties>
implements NativeResource
struct VkPhysicalDeviceFloatControlsProperties {
VkStructureType sType;
void * pNext;
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;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceFloatControlsPropertiesstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceFloatControlsPropertiesinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceFloatControlsProperties.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceFloatControlsPropertiescreateSafe(long address) static @Nullable VkPhysicalDeviceFloatControlsProperties.BuffercreateSafe(long address, int capacity) intmalloc()Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated on the specifiedMemoryStack.static intndenormBehaviorIndependence(long struct) Unsafe version ofdenormBehaviorIndependence().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnroundingModeIndependence(long struct) Unsafe version ofroundingModeIndependence().static intnshaderDenormFlushToZeroFloat16(long struct) Unsafe version ofshaderDenormFlushToZeroFloat16().static intnshaderDenormFlushToZeroFloat32(long struct) Unsafe version ofshaderDenormFlushToZeroFloat32().static intnshaderDenormFlushToZeroFloat64(long struct) Unsafe version ofshaderDenormFlushToZeroFloat64().static intnshaderDenormPreserveFloat16(long struct) Unsafe version ofshaderDenormPreserveFloat16().static intnshaderDenormPreserveFloat32(long struct) Unsafe version ofshaderDenormPreserveFloat32().static intnshaderDenormPreserveFloat64(long struct) Unsafe version ofshaderDenormPreserveFloat64().static intnshaderRoundingModeRTEFloat16(long struct) Unsafe version ofshaderRoundingModeRTEFloat16().static intnshaderRoundingModeRTEFloat32(long struct) Unsafe version ofshaderRoundingModeRTEFloat32().static intnshaderRoundingModeRTEFloat64(long struct) Unsafe version ofshaderRoundingModeRTEFloat64().static intnshaderRoundingModeRTZFloat16(long struct) Unsafe version ofshaderRoundingModeRTZFloat16().static intnshaderRoundingModeRTZFloat32(long struct) Unsafe version ofshaderRoundingModeRTZFloat32().static intnshaderRoundingModeRTZFloat64(long struct) Unsafe version ofshaderRoundingModeRTZFloat64().static intnshaderSignedZeroInfNanPreserveFloat16(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat16().static intnshaderSignedZeroInfNanPreserveFloat32(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat32().static intnshaderSignedZeroInfNanPreserveFloat64(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat64().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()pNext(long value) Sets the specified value to thepNextfield.intset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIESvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
DENORMBEHAVIORINDEPENDENCE
public static final int DENORMBEHAVIORINDEPENDENCEThe struct member offsets. -
ROUNDINGMODEINDEPENDENCE
public static final int ROUNDINGMODEINDEPENDENCEThe struct member offsets. -
SHADERSIGNEDZEROINFNANPRESERVEFLOAT16
public static final int SHADERSIGNEDZEROINFNANPRESERVEFLOAT16The struct member offsets. -
SHADERSIGNEDZEROINFNANPRESERVEFLOAT32
public static final int SHADERSIGNEDZEROINFNANPRESERVEFLOAT32The struct member offsets. -
SHADERSIGNEDZEROINFNANPRESERVEFLOAT64
public static final int SHADERSIGNEDZEROINFNANPRESERVEFLOAT64The struct member offsets. -
SHADERDENORMPRESERVEFLOAT16
public static final int SHADERDENORMPRESERVEFLOAT16The struct member offsets. -
SHADERDENORMPRESERVEFLOAT32
public static final int SHADERDENORMPRESERVEFLOAT32The struct member offsets. -
SHADERDENORMPRESERVEFLOAT64
public static final int SHADERDENORMPRESERVEFLOAT64The struct member offsets. -
SHADERDENORMFLUSHTOZEROFLOAT16
public static final int SHADERDENORMFLUSHTOZEROFLOAT16The struct member offsets. -
SHADERDENORMFLUSHTOZEROFLOAT32
public static final int SHADERDENORMFLUSHTOZEROFLOAT32The struct member offsets. -
SHADERDENORMFLUSHTOZEROFLOAT64
public static final int SHADERDENORMFLUSHTOZEROFLOAT64The struct member offsets. -
SHADERROUNDINGMODERTEFLOAT16
public static final int SHADERROUNDINGMODERTEFLOAT16The struct member offsets. -
SHADERROUNDINGMODERTEFLOAT32
public static final int SHADERROUNDINGMODERTEFLOAT32The struct member offsets. -
SHADERROUNDINGMODERTEFLOAT64
public static final int SHADERROUNDINGMODERTEFLOAT64The struct member offsets. -
SHADERROUNDINGMODERTZFLOAT16
public static final int SHADERROUNDINGMODERTZFLOAT16The struct member offsets. -
SHADERROUNDINGMODERTZFLOAT32
public static final int SHADERROUNDINGMODERTZFLOAT32The struct member offsets. -
SHADERROUNDINGMODERTZFLOAT64
public static final int SHADERROUNDINGMODERTZFLOAT64The struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceFloatControlsProperties
Creates aVkPhysicalDeviceFloatControlsPropertiesinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPhysicalDeviceFloatControlsProperties>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
denormBehaviorIndependence
public int denormBehaviorIndependence()- Returns:
- the value of the
denormBehaviorIndependencefield.
-
roundingModeIndependence
public int roundingModeIndependence()- Returns:
- the value of the
roundingModeIndependencefield.
-
shaderSignedZeroInfNanPreserveFloat16
public boolean shaderSignedZeroInfNanPreserveFloat16()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat16field.
-
shaderSignedZeroInfNanPreserveFloat32
public boolean shaderSignedZeroInfNanPreserveFloat32()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat32field.
-
shaderSignedZeroInfNanPreserveFloat64
public boolean shaderSignedZeroInfNanPreserveFloat64()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat64field.
-
shaderDenormPreserveFloat16
public boolean shaderDenormPreserveFloat16()- Returns:
- the value of the
shaderDenormPreserveFloat16field.
-
shaderDenormPreserveFloat32
public boolean shaderDenormPreserveFloat32()- Returns:
- the value of the
shaderDenormPreserveFloat32field.
-
shaderDenormPreserveFloat64
public boolean shaderDenormPreserveFloat64()- Returns:
- the value of the
shaderDenormPreserveFloat64field.
-
shaderDenormFlushToZeroFloat16
public boolean shaderDenormFlushToZeroFloat16()- Returns:
- the value of the
shaderDenormFlushToZeroFloat16field.
-
shaderDenormFlushToZeroFloat32
public boolean shaderDenormFlushToZeroFloat32()- Returns:
- the value of the
shaderDenormFlushToZeroFloat32field.
-
shaderDenormFlushToZeroFloat64
public boolean shaderDenormFlushToZeroFloat64()- Returns:
- the value of the
shaderDenormFlushToZeroFloat64field.
-
shaderRoundingModeRTEFloat16
public boolean shaderRoundingModeRTEFloat16()- Returns:
- the value of the
shaderRoundingModeRTEFloat16field.
-
shaderRoundingModeRTEFloat32
public boolean shaderRoundingModeRTEFloat32()- Returns:
- the value of the
shaderRoundingModeRTEFloat32field.
-
shaderRoundingModeRTEFloat64
public boolean shaderRoundingModeRTEFloat64()- Returns:
- the value of the
shaderRoundingModeRTEFloat64field.
-
shaderRoundingModeRTZFloat16
public boolean shaderRoundingModeRTZFloat16()- Returns:
- the value of the
shaderRoundingModeRTZFloat16field.
-
shaderRoundingModeRTZFloat32
public boolean shaderRoundingModeRTZFloat32()- Returns:
- the value of the
shaderRoundingModeRTZFloat32field.
-
shaderRoundingModeRTZFloat64
public boolean shaderRoundingModeRTZFloat64()- Returns:
- the value of the
shaderRoundingModeRTZFloat64field.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIESvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceFloatControlsProperties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceFloatControlsProperties.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceFloatControlsPropertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFloatControlsProperties.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFloatControlsProperties.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
ndenormBehaviorIndependence
public static int ndenormBehaviorIndependence(long struct) Unsafe version ofdenormBehaviorIndependence(). -
nroundingModeIndependence
public static int nroundingModeIndependence(long struct) Unsafe version ofroundingModeIndependence(). -
nshaderSignedZeroInfNanPreserveFloat16
public static int nshaderSignedZeroInfNanPreserveFloat16(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat16(). -
nshaderSignedZeroInfNanPreserveFloat32
public static int nshaderSignedZeroInfNanPreserveFloat32(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat32(). -
nshaderSignedZeroInfNanPreserveFloat64
public static int nshaderSignedZeroInfNanPreserveFloat64(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat64(). -
nshaderDenormPreserveFloat16
public static int nshaderDenormPreserveFloat16(long struct) Unsafe version ofshaderDenormPreserveFloat16(). -
nshaderDenormPreserveFloat32
public static int nshaderDenormPreserveFloat32(long struct) Unsafe version ofshaderDenormPreserveFloat32(). -
nshaderDenormPreserveFloat64
public static int nshaderDenormPreserveFloat64(long struct) Unsafe version ofshaderDenormPreserveFloat64(). -
nshaderDenormFlushToZeroFloat16
public static int nshaderDenormFlushToZeroFloat16(long struct) Unsafe version ofshaderDenormFlushToZeroFloat16(). -
nshaderDenormFlushToZeroFloat32
public static int nshaderDenormFlushToZeroFloat32(long struct) Unsafe version ofshaderDenormFlushToZeroFloat32(). -
nshaderDenormFlushToZeroFloat64
public static int nshaderDenormFlushToZeroFloat64(long struct) Unsafe version ofshaderDenormFlushToZeroFloat64(). -
nshaderRoundingModeRTEFloat16
public static int nshaderRoundingModeRTEFloat16(long struct) Unsafe version ofshaderRoundingModeRTEFloat16(). -
nshaderRoundingModeRTEFloat32
public static int nshaderRoundingModeRTEFloat32(long struct) Unsafe version ofshaderRoundingModeRTEFloat32(). -
nshaderRoundingModeRTEFloat64
public static int nshaderRoundingModeRTEFloat64(long struct) Unsafe version ofshaderRoundingModeRTEFloat64(). -
nshaderRoundingModeRTZFloat16
public static int nshaderRoundingModeRTZFloat16(long struct) Unsafe version ofshaderRoundingModeRTZFloat16(). -
nshaderRoundingModeRTZFloat32
public static int nshaderRoundingModeRTZFloat32(long struct) Unsafe version ofshaderRoundingModeRTZFloat32(). -
nshaderRoundingModeRTZFloat64
public static int nshaderRoundingModeRTZFloat64(long struct) Unsafe version ofshaderRoundingModeRTZFloat64(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-