menu
GpuAddressMode
import { GpuAddressMode } from "destack:gpu/binding";
Texture address mode selector.
1export enum GpuAddressMode {2 ClampToEdge = 1,3 Repeat = 2,4 MirrorRepeat = 3,5 ClampToBorder = 4,6}Variants
ClampToEdge = 1Clamp coordinates to the texture edge.
Repeat = 2Repeat coordinates in a tiling pattern.
MirrorRepeat = 3Repeat coordinates with alternating mirroring.
ClampToBorder = 4Clamp coordinates to the configured border color.