# GpuExternalTextureFormat

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

External-texture format selector.

```ds title="GpuExternalTextureFormat"
export enum GpuExternalTextureFormat {
    Rgba = 1,
    Nv12 = 2,
    Yu12 = 3,
}
```

[language/library/src/gpu/binding/resource.ds:653:660](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/resource.ds#L653-L660)

## Variants

### `Rgba = 1`

Single RGBA plane.

### `Nv12 = 2`

One luma plane and one interleaved chroma plane.

### `Yu12 = 3`

Separate luma, Cb, and Cr planes.
