Skip to content

Documentation / device / TextureFormatInfo

Interface: TextureFormatInfo

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

Information of a texture format

Properties

filterable

filterable: boolean

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

True if the texture format supports linear filtering


renderable

renderable: boolean

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

True if the texture format can be used as a render target


compressed

compressed: boolean

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

True if the texture format is a compressed format


size

size: number

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

Number of bytes per-block


blockWidth

blockWidth: number

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

Block width


blockHeight

blockHeight: number

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

Block height

Released under the MIT License.