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

Binding indices shared by the drop-shadow filter program and its hosts. More...

#include <cstdint>
#include <string_view>
Include dependency graph for DropShadowBindings.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::DropShadowBinding : uint32_t {
  SourceTexture = 0 ,
  BlurredTexture = 1 ,
  OutputTexture = 2 ,
  Params = 3
}
 Resources in bind group zero. More...

Variables

constexpr std::string_view donner::gpu::shader::programs::kDropShadowEntryPoint = "cs_main"
 Compute entry point declared by the program.
constexpr uint32_t donner::gpu::shader::programs::kDropShadowWorkgroupSize = 8
 Workgroup width and height shared by the program and dispatch sizing.

Detailed Description

Binding indices shared by the drop-shadow filter program and its hosts.

Enumeration Type Documentation

◆ DropShadowBinding

Resources in bind group zero.

Enumerator
SourceTexture 

Premultiplied source color.

BlurredTexture 

Blurred alpha source.

OutputTexture 

Write-only rgba32float result.

Params 

Straight flood color and pixel offset.