menu

GpuTextureAspect

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

Texture aspect selector.

language/library/src/gpu/binding/resource.ds:511:524
1export enum GpuTextureAspect {2    All = 1,3    StencilOnly = 2,4    DepthOnly = 3,5    Plane0 = 4,6    Plane1 = 5,7    Plane2 = 6,8}

Variants

All = 1

Select all color or depth-stencil aspects.

StencilOnly = 2

Select only the stencil aspect.

DepthOnly = 3

Select only the depth aspect.

Plane0 = 4

Select only plane 0.

Plane1 = 5

Select only plane 1.

Plane2 = 6

Select only plane 2.