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 class
An array ofVkPhysicalDeviceFloatControlsProperties
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceFloatControlsProperties
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkPhysicalDeviceFloatControlsProperties
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceFloatControlsProperties.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceFloatControlsProperties
createSafe
(long address) static @Nullable VkPhysicalDeviceFloatControlsProperties.Buffer
createSafe
(long address, int capacity) int
malloc()
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated on the specifiedMemoryStack
.static int
ndenormBehaviorIndependence
(long struct) Unsafe version ofdenormBehaviorIndependence()
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static int
nroundingModeIndependence
(long struct) Unsafe version ofroundingModeIndependence()
.static int
nshaderDenormFlushToZeroFloat16
(long struct) Unsafe version ofshaderDenormFlushToZeroFloat16()
.static int
nshaderDenormFlushToZeroFloat32
(long struct) Unsafe version ofshaderDenormFlushToZeroFloat32()
.static int
nshaderDenormFlushToZeroFloat64
(long struct) Unsafe version ofshaderDenormFlushToZeroFloat64()
.static int
nshaderDenormPreserveFloat16
(long struct) Unsafe version ofshaderDenormPreserveFloat16()
.static int
nshaderDenormPreserveFloat32
(long struct) Unsafe version ofshaderDenormPreserveFloat32()
.static int
nshaderDenormPreserveFloat64
(long struct) Unsafe version ofshaderDenormPreserveFloat64()
.static int
nshaderRoundingModeRTEFloat16
(long struct) Unsafe version ofshaderRoundingModeRTEFloat16()
.static int
nshaderRoundingModeRTEFloat32
(long struct) Unsafe version ofshaderRoundingModeRTEFloat32()
.static int
nshaderRoundingModeRTEFloat64
(long struct) Unsafe version ofshaderRoundingModeRTEFloat64()
.static int
nshaderRoundingModeRTZFloat16
(long struct) Unsafe version ofshaderRoundingModeRTZFloat16()
.static int
nshaderRoundingModeRTZFloat32
(long struct) Unsafe version ofshaderRoundingModeRTZFloat32()
.static int
nshaderRoundingModeRTZFloat64
(long struct) Unsafe version ofshaderRoundingModeRTZFloat64()
.static int
nshaderSignedZeroInfNanPreserveFloat16
(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat16()
.static int
nshaderSignedZeroInfNanPreserveFloat32
(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat32()
.static int
nshaderSignedZeroInfNanPreserveFloat64
(long struct) Unsafe version ofshaderSignedZeroInfNanPreserveFloat64()
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.int
set
(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aVkPhysicalDeviceFloatControlsProperties
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkPhysicalDeviceFloatControlsProperties>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
denormBehaviorIndependence
public int denormBehaviorIndependence()- Returns:
- the value of the
denormBehaviorIndependence
field.
-
roundingModeIndependence
public int roundingModeIndependence()- Returns:
- the value of the
roundingModeIndependence
field.
-
shaderSignedZeroInfNanPreserveFloat16
public boolean shaderSignedZeroInfNanPreserveFloat16()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat16
field.
-
shaderSignedZeroInfNanPreserveFloat32
public boolean shaderSignedZeroInfNanPreserveFloat32()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat32
field.
-
shaderSignedZeroInfNanPreserveFloat64
public boolean shaderSignedZeroInfNanPreserveFloat64()- Returns:
- the value of the
shaderSignedZeroInfNanPreserveFloat64
field.
-
shaderDenormPreserveFloat16
public boolean shaderDenormPreserveFloat16()- Returns:
- the value of the
shaderDenormPreserveFloat16
field.
-
shaderDenormPreserveFloat32
public boolean shaderDenormPreserveFloat32()- Returns:
- the value of the
shaderDenormPreserveFloat32
field.
-
shaderDenormPreserveFloat64
public boolean shaderDenormPreserveFloat64()- Returns:
- the value of the
shaderDenormPreserveFloat64
field.
-
shaderDenormFlushToZeroFloat16
public boolean shaderDenormFlushToZeroFloat16()- Returns:
- the value of the
shaderDenormFlushToZeroFloat16
field.
-
shaderDenormFlushToZeroFloat32
public boolean shaderDenormFlushToZeroFloat32()- Returns:
- the value of the
shaderDenormFlushToZeroFloat32
field.
-
shaderDenormFlushToZeroFloat64
public boolean shaderDenormFlushToZeroFloat64()- Returns:
- the value of the
shaderDenormFlushToZeroFloat64
field.
-
shaderRoundingModeRTEFloat16
public boolean shaderRoundingModeRTEFloat16()- Returns:
- the value of the
shaderRoundingModeRTEFloat16
field.
-
shaderRoundingModeRTEFloat32
public boolean shaderRoundingModeRTEFloat32()- Returns:
- the value of the
shaderRoundingModeRTEFloat32
field.
-
shaderRoundingModeRTEFloat64
public boolean shaderRoundingModeRTEFloat64()- Returns:
- the value of the
shaderRoundingModeRTEFloat64
field.
-
shaderRoundingModeRTZFloat16
public boolean shaderRoundingModeRTZFloat16()- Returns:
- the value of the
shaderRoundingModeRTZFloat16
field.
-
shaderRoundingModeRTZFloat32
public boolean shaderRoundingModeRTZFloat32()- Returns:
- the value of the
shaderRoundingModeRTZFloat32
field.
-
shaderRoundingModeRTZFloat64
public boolean shaderRoundingModeRTZFloat64()- Returns:
- the value of the
shaderRoundingModeRTZFloat64
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
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 newVkPhysicalDeviceFloatControlsProperties
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated withBufferUtils
. -
create
Returns a newVkPhysicalDeviceFloatControlsProperties
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkPhysicalDeviceFloatControlsProperties.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkPhysicalDeviceFloatControlsProperties.Buffer
instance 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 newVkPhysicalDeviceFloatControlsProperties
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceFloatControlsProperties
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-