Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
GaussianBlur.h File Reference
#include <array>
#include <cstdint>
#include "donner/gpu/shader/CompiledShader.h"
Include dependency graph for GaussianBlur.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::shader::programs::GaussianBlurParams
 Host layout for the params uniform resource of the Gaussian blur program. 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::GaussianBlurShader ()
 Returns the WGSL projection and reflected interface used by the Geode backend.
const CompiledShaderView & donner::gpu::shader::programs::GaussianBlurNativeShader ()
 Returns the native projection and reflected interface used by Metal or Vulkan.

Function Documentation

◆ GaussianBlurNativeShader()

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

Returns the native projection and reflected interface used by Metal or Vulkan.

Returns
Stable view into a process-lifetime compiled artifact.

◆ GaussianBlurShader()

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

Returns the WGSL projection and reflected interface used by the Geode backend.

The filter admission path bounds finite sigma to [0,256], box extents to [0,240], and supplies equally sized nonempty source and destination textures. The shader caps Gaussian support at 127 pixels and applies its optional output clip before the [0,1] output clamp.

Returns
Stable view into a process-lifetime compiled artifact.