Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceFloatControlsProperties

extends Struct<VkPhysicalDeviceFloatControlsProperties>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkPhysicalDeviceFloatControlsPropertiesKHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing properties supported by VK_KHR_shader_float_controls.
Description

If the VkPhysicalDeviceFloatControlsProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

Layout


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 and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DENORMBEHAVIORINDEPENDENCE

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
ROUNDINGMODEINDEPENDENCE

The struct member offsets.

public static final int
SHADERDENORMFLUSHTOZEROFLOAT16

The struct member offsets.

public static final int
SHADERDENORMFLUSHTOZEROFLOAT32

The struct member offsets.

public static final int
SHADERDENORMFLUSHTOZEROFLOAT64

The struct member offsets.

public static final int
SHADERDENORMPRESERVEFLOAT16

The struct member offsets.

public static final int
SHADERDENORMPRESERVEFLOAT32

The struct member offsets.

public static final int
SHADERDENORMPRESERVEFLOAT64

The struct member offsets.

public static final int
SHADERROUNDINGMODERTEFLOAT16

The struct member offsets.

public static final int
SHADERROUNDINGMODERTEFLOAT32

The struct member offsets.

public static final int
SHADERROUNDINGMODERTEFLOAT64

The struct member offsets.

public static final int
SHADERROUNDINGMODERTZFLOAT16

The struct member offsets.

public static final int
SHADERROUNDINGMODERTZFLOAT32

The struct member offsets.

public static final int
SHADERROUNDINGMODERTZFLOAT64

The struct member offsets.

public static final int
SHADERSIGNEDZEROINFNANPRESERVEFLOAT16

The struct member offsets.

public static final int
SHADERSIGNEDZEROINFNANPRESERVEFLOAT32

The struct member offsets.

public static final int
SHADERSIGNEDZEROINFNANPRESERVEFLOAT64

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceFloatControlsProperties(ByteBuffer container)

Creates a VkPhysicalDeviceFloatControlsProperties instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceFloatControlsProperties
calloc()

Returns a new VkPhysicalDeviceFloatControlsProperties instance allocated with memCalloc.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceFloatControlsProperties.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceFloatControlsProperties
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceFloatControlsProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceFloatControlsProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPhysicalDeviceFloatControlsProperties
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceFloatControlsProperties
create()

Returns a new VkPhysicalDeviceFloatControlsProperties instance allocated with BufferUtils.

public static VkPhysicalDeviceFloatControlsProperties
create(long address)

Returns a new VkPhysicalDeviceFloatControlsProperties instance for the specified memory address.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceFloatControlsProperties.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceFloatControlsProperties.Buffer instance at the specified memory.

public static VkPhysicalDeviceFloatControlsProperties
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
denormBehaviorIndependence()

a VkShaderFloatControlsIndependence value indicating whether, and how, denorm behavior can be set independently for different bit widths.

public static VkPhysicalDeviceFloatControlsProperties
malloc()

Returns a new VkPhysicalDeviceFloatControlsProperties instance allocated with memAlloc.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceFloatControlsProperties.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceFloatControlsProperties
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceFloatControlsProperties instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceFloatControlsProperties.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceFloatControlsProperties.Buffer instance allocated on the specified MemoryStack.

public static int
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nroundingModeIndependence(long struct)

Unsafe version of roundingModeIndependence.

public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceFloatControlsProperties
pNext(long value)

Sets the specified value to the pNext field.

public int
roundingModeIndependence()

a VkShaderFloatControlsIndependence value indicating whether, and how, rounding modes can be set independently for different bit widths.

public VkPhysicalDeviceFloatControlsProperties
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceFloatControlsProperties

Returns:

this struct
set
(VkPhysicalDeviceFloatControlsProperties
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderDenormFlushToZeroFloat16()

a boolean value indicating whether denormals can be flushed to zero in 16-bit floating-point computations.

public boolean
shaderDenormFlushToZeroFloat32()

a boolean value indicating whether denormals can be flushed to zero in 32-bit floating-point computations.

public boolean
shaderDenormFlushToZeroFloat64()

a boolean value indicating whether denormals can be flushed to zero in 64-bit floating-point computations.

public boolean
shaderDenormPreserveFloat16()

a boolean value indicating whether denormals can be preserved in 16-bit floating-point computations.

public boolean
shaderDenormPreserveFloat32()

a boolean value indicating whether denormals can be preserved in 32-bit floating-point computations.

public boolean
shaderDenormPreserveFloat64()

a boolean value indicating whether denormals can be preserved in 64-bit floating-point computations.

public boolean
shaderRoundingModeRTEFloat16()

a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 16-bit floating-point arithmetic and conversion instructions.

public boolean
shaderRoundingModeRTEFloat32()

a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 32-bit floating-point arithmetic and conversion instructions.

public boolean
shaderRoundingModeRTEFloat64()

a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 64-bit floating-point arithmetic and conversion instructions.

public boolean
shaderRoundingModeRTZFloat16()

a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 16-bit floating-point arithmetic and conversion instructions.

public boolean
shaderRoundingModeRTZFloat32()

a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 32-bit floating-point arithmetic and conversion instructions.

public boolean
shaderRoundingModeRTZFloat64()

a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 64-bit floating-point arithmetic and conversion instructions.

public boolean
shaderSignedZeroInfNanPreserveFloat16()

a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 16-bit floating-point computations.

public boolean
shaderSignedZeroInfNanPreserveFloat32()

a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 32-bit floating-point computations.

public boolean
shaderSignedZeroInfNanPreserveFloat64()

a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 64-bit floating-point computations.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceFloatControlsProperties
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceFloatControlsProperties
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate