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

ValueBehavior
NoneNo mipmaps. Source pixels sampled directly. Cheapest but aliases on minification.
NearestPick the closest pre-computed mip level.
LinearLinearly blend between two mip levels — smoothest minification.

See also