Skip to content

Documentation / device / getTextureFormatBlockSize

Function: getTextureFormatBlockSize()

getTextureFormatBlockSize(format): number

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

Get block size of given texture format

Parameters

format

TextureFormat

The texture format

Returns

number

The block size

Released under the MIT License.