Interface PixelsTexture3DOptions
interface PixelsTexture3DOptions {
addressMode?: GPUAddressMode;
filter?: GPUFilterMode;
srgb?: boolean;
}
addressMode?: GPUAddressMode;
filter?: GPUFilterMode;
srgb?: boolean;
}
Properties
Optionaladdress Mode
addressMode?: GPUAddressMode
Address mode U/V/W. Default 'clamp-to-edge' (the right choice for a colour LUT — the cube edges must not wrap).
Optionalfilter
filter?: GPUFilterMode
Min/mag filter. Default 'linear' so a colour-grading LUT interpolates trilinearly in one sample.
Optionalsrgb
srgb?: boolean
Use sRGB format (rgba8unorm-srgb). Leave false for a linear/display LUT. Default false.
Sampler / format overrides for
createTexture3DFromPixels().