Skip to content

Documentation / device / isFloatTextureFormat

Function: isFloatTextureFormat()

isFloatTextureFormat(format): boolean

Defined in: libs/device/src/base_types.ts:1791

Check whether a given texture format is floating-point.

Parameters

format

TextureFormat

The texture format to be checked.

Returns

boolean

true if the texture format is floating-point, otherwise false

Released under the MIT License.