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

feDropShadow parameters and precompiled shader projections. More...

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

Classes

struct  donner::gpu::shader::programs::DropShadowParams
 Uniform straight flood color and integer-rounded pixel offset. 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::DropShadowShader ()
 Returns the WGSL drop-shadow artifact: tinted offset blurred alpha under the source.
const CompiledShaderView & donner::gpu::shader::programs::DropShadowNativeShader ()
 Returns only the platform-native DropShadow projection.

Detailed Description

feDropShadow parameters and precompiled shader projections.

Function Documentation

◆ DropShadowNativeShader()

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

Returns only the platform-native DropShadow projection.

Returns
Stable view into process-lifetime data.

◆ DropShadowShader()

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

Returns the WGSL drop-shadow artifact: tinted offset blurred alpha under the source.

Returns
Stable view into process-lifetime data.