Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
Morphology.h File Reference

feMorphology parameters and precompiled shader projections. More...

#include <cstdint>
#include "donner/gpu/shader/CompiledShader.h"
Include dependency graph for Morphology.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::shader::programs::MorphologyParams
 Uniform radii and operator for one erode or dilate pass. More...

Namespaces

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

Functions

const CompiledShaderView & donner::gpu::shader::programs::MorphologyShader ()
 Returns the WGSL morphology artifact: separable erode or dilate over a signed radius.
const CompiledShaderView & donner::gpu::shader::programs::MorphologyNativeShader ()
 Returns only the platform-native Morphology projection.

Detailed Description

feMorphology parameters and precompiled shader projections.

Function Documentation

◆ MorphologyNativeShader()

const CompiledShaderView & donner::gpu::shader::programs::MorphologyNativeShader ( )

Returns only the platform-native Morphology projection.

Returns
Stable view into process-lifetime data.

◆ MorphologyShader()

const CompiledShaderView & donner::gpu::shader::programs::MorphologyShader ( )

Returns the WGSL morphology artifact: separable erode or dilate over a signed radius.

Returns
Stable view into process-lifetime data.