menu
GpuExternalTextureFormat
import { GpuExternalTextureFormat } from "destack:gpu/binding";
External-texture format selector.
1export enum GpuExternalTextureFormat {2 Rgba = 1,3 Nv12 = 2,4 Yu12 = 3,5}Variants
Rgba = 1Single RGBA plane.
Nv12 = 2One luma plane and one interleaved chroma plane.
Yu12 = 3Separate luma, Cb, and Cr planes.