Skip to content

Documentation / device / getTextureFormatBlockWidth

Function: getTextureFormatBlockWidth()

getTextureFormatBlockWidth(format): number

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

Get block width of given texture format

Parameters

format

TextureFormat

The texture format

Returns

number

The block width

Released under the MIT License.