destack.sh
docstemplatesblog
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:gpu
  11. destack:gpu/binding
  12. GpuExternalTextureFormat
    1. Variants
  13. Configuration
  14. Static Analysis
  15. Dynamic Analysis
  16. Deployment
menu
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:gpu
  11. destack:gpu/binding
  12. GpuExternalTextureFormat
    1. Variants
  13. Configuration
  14. Static Analysis
  15. Dynamic Analysis
  16. Deployment
Docs/Language/Standard Library/Modules/destack:gpu/destack:gpu/binding
mdtxt

GpuExternalTextureFormat

import { GpuExternalTextureFormat } from "destack:gpu/binding";

External-texture format selector.

language/library/src/gpu/binding/resource.ds:653:660
1export enum GpuExternalTextureFormat {2    Rgba = 1,3    Nv12 = 2,4    Yu12 = 3,5}

Variants

Rgba = 1

Single RGBA plane.

Nv12 = 2

One luma plane and one interleaved chroma plane.

Yu12 = 3

Separate luma, Cb, and Cr planes.

discordxgithub
2026.8.3alpha