# GpuLoadOp

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

Render-pass load operation selector.

```ds title="GpuLoadOp"
export enum GpuLoadOp {
    Load = 1,
    Clear = 2,
    DontCare = 3,
}
```

[language/library/src/gpu/binding/command.ds:74:81](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/command.ds#L74-L81)

## Variants

### `Load = 1`

Keep existing attachment contents.

### `Clear = 2`

Clear attachment contents.

### `DontCare = 3`

Leave the attachment contents undefined.
