Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
GaussianBlurBindings.h File Reference

Bindings shared by the SVG Gaussian blur program and its host without linking the shader IR. More...

#include <cstdint>
#include <string_view>
Include dependency graph for GaussianBlurBindings.h:
This graph shows which files directly or indirectly include this file:

Namespaces

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

Enumerations

enum class  donner::gpu::shader::programs::GaussianBlurBinding : uint32_t {
  InputTexture = 0 ,
  OutputTexture = 1 ,
  Params = 2
}
 Resource bindings for separable blur. More...

Variables

constexpr std::string_view donner::gpu::shader::programs::kGaussianBlurEntryPoint = "cs_main"
 Compute entry point.
constexpr uint32_t donner::gpu::shader::programs::kGaussianBlurWorkgroupSize = 8
 Square compute workgroup extent.

Detailed Description

Bindings shared by the SVG Gaussian blur program and its host without linking the shader IR.

Enumeration Type Documentation

◆ GaussianBlurBinding

Resource bindings for separable blur.

Enumerator
InputTexture 

Sampled source.

OutputTexture 

Float storage destination.

Params 

Kernel, edge mode, axis, and optional output clip.