menu
GpuLoadOp
import { GpuLoadOp } from "destack:gpu/binding";
Render-pass load operation selector.
1export enum GpuLoadOp {2 Load = 1,3 Clear = 2,4 DontCare = 3,5}Variants
Load = 1Keep existing attachment contents.
Clear = 2Clear attachment contents.
DontCare = 3Leave the attachment contents undefined.