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

Binding indices shared by the merge filter program and its hosts. More...

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

Variables

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

Detailed Description

Binding indices shared by the merge filter program and its hosts.

Enumeration Type Documentation

◆ MergeBinding

enum class donner::gpu::shader::programs::MergeBinding : uint32_t
strong

Resources in bind group zero.

Enumerator
SourceTexture 

Premultiplied source color.

DestinationTexture 

Premultiplied backdrop color.

OutputTexture 

Write-only rgba32float result.