canvaskit-wasm 0.39
build 2026-04-29
MipmapMode
How mipmap level-of-detail sampling works when an image is drawn at a smaller size than its native resolution. Consumed by Image.makeShaderOptions.
All values
| Value | Behavior |
|---|---|
None | No mipmaps. Source pixels sampled directly. Cheapest but aliases on minification. |
Nearest | Pick the closest pre-computed mip level. |
Linear | Linearly blend between two mip levels — smoothest minification. |