menu
GpuTextureAspect
import { GpuTextureAspect } from "destack:gpu/binding";
Texture aspect selector.
1export enum GpuTextureAspect {2 All = 1,3 StencilOnly = 2,4 DepthOnly = 3,5 Plane0 = 4,6 Plane1 = 5,7 Plane2 = 6,8}Variants
All = 1Select all color or depth-stencil aspects.
StencilOnly = 2Select only the stencil aspect.
DepthOnly = 3Select only the depth aspect.
Plane0 = 4Select only plane 0.
Plane1 = 5Select only plane 1.
Plane2 = 6Select only plane 2.