API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeDataTextureFormat

@codexo/exojs / rendering / stable

Pixel format for DataTexture - the TextureFormat subset that can be uploaded from a typed array. Excludes `Rgba16F`, which has no matching JS buffer kind. Float formats are core in WebGL2 and WebGPU; no extension probe required.

0
props
0
methods
0
events
Import
import { DataTextureFormat } from '@codexo/exojs'

Pixel format for DataTexture - the TextureFormat subset that can be uploaded from a typed array. Excludes `Rgba16F`, which has no matching JS buffer kind.

Float formats are core in WebGL2 and WebGPU; no extension probe required.

Definition1
TextureFormat.R32F | TextureFormat.R8 | TextureFormat.Rgba32F | TextureFormat.Rgba8
Source