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

feColorMatrix parameters and precompiled shader projections. More...

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

Classes

struct  donner::gpu::shader::programs::FilterColorMatrixParams
 Uniform 4x5 matrix stored as five columns; the last column is the constant 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::FilterColorMatrixShader ()
 Returns the WGSL color-matrix artifact: a 4x5 straight-alpha matrix with clamping.
const CompiledShaderView & donner::gpu::shader::programs::FilterColorMatrixNativeShader ()
 Returns only the platform-native FilterColorMatrix projection.

Detailed Description

feColorMatrix parameters and precompiled shader projections.

Function Documentation

◆ FilterColorMatrixNativeShader()

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

Returns only the platform-native FilterColorMatrix projection.

Returns
Stable view into process-lifetime data.

◆ FilterColorMatrixShader()

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

Returns the WGSL color-matrix artifact: a 4x5 straight-alpha matrix with clamping.

Returns
Stable view into process-lifetime data.