Skip to content

DataFormat beta ​

TypeAlias of @v12-engine/render

ts
export type DataFormat = 'r8unorm' | 'rgba8unorm' | 'r32float' | 'rgba32float';

What a texel of a data texture is: a byte, four bytes, a float or four floats