|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
SVG morphology compute program expressed in the shader IR. More...
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::BuildMorphologyModule () |
| Computes component-wise erosion or dilation with transparent pixels outside the source. | |
SVG morphology compute program expressed in the shader IR.
| ShaderResult< IrModule > donner::gpu::shader::programs::BuildMorphologyModule | ( | ) |
Computes component-wise erosion or dilation with transparent pixels outside the source.
Hosts pass nonnegative radii no greater than 31 per axis and operation 0 (erode) or 1 (dilate). Zero radii copy the source. Larger kernels are decomposed by the host into bounded passes. Source and destination have equal extents; excess destination invocations return without writing.