Skip to content

Documentation / device / TextureFormatInfo

Interface: TextureFormatInfo ​

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

Information of a texture format

Properties ​

filterable ​

filterable: boolean

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

True if the texture format supports linear filtering


renderable ​

renderable: boolean

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

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


compressed ​

compressed: boolean

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

True if the texture format is a compressed format


size ​

size: number

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

Number of bytes per-block


blockWidth ​

blockWidth: number

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

Block width


blockHeight ​

blockHeight: number

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

Block height

Released under the MIT License.