Skip to content

Documentation / device / isIntegerTextureFormat

Function: isIntegerTextureFormat()

isIntegerTextureFormat(format): boolean

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

Check whether a given texture format is integer.

Parameters

format

TextureFormat

The texture format to be checked.

Returns

boolean

true if the texture format is integer, otherwise false

Released under the MIT License.