Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
FilterImage.h File Reference

SVG image filter compute program expressed in the shader IR. More...

Include dependency graph for FilterImage.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

ShaderResult< IrModule > donner::gpu::shader::programs::BuildFilterImageModule ()
 Builds affine image placement with nearest-neighbor, CSS pixelated, and Mitchell-Netravali sampling.

Detailed Description

SVG image filter compute program expressed in the shader IR.

Function Documentation

◆ BuildFilterImageModule()

ShaderResult< IrModule > donner::gpu::shader::programs::BuildFilterImageModule ( )

Builds affine image placement with nearest-neighbor, CSS pixelated, and Mitchell-Netravali sampling.

Source taps clamp to the source edge, while output pixel centers outside the image remain transparent. Results are clamped to finite premultiplied color inputs' valid range.