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

feFlood parameters and precompiled shader projections. More...

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

Classes

struct  donner::gpu::shader::programs::FloodParams
 Uniform flood color. The bytes are stored exactly as supplied; the host premultiplies. 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::FloodShader ()
 Returns the WGSL flood artifact, which writes one premultiplied color to every texel.
const CompiledShaderView & donner::gpu::shader::programs::FloodNativeShader ()
 Returns only the platform-native Flood projection.

Detailed Description

feFlood parameters and precompiled shader projections.

Function Documentation

◆ FloodNativeShader()

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

Returns only the platform-native Flood projection.

Returns
Stable view into process-lifetime data.

◆ FloodShader()

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

Returns the WGSL flood artifact, which writes one premultiplied color to every texel.

Returns
Stable view into process-lifetime data.