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

Bindings shared by the SVG image filter program and its host. More...

#include <cstdint>
#include <string_view>
Include dependency graph for FilterImageBindings.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::FilterImageBinding : uint32_t {
  ImageTexture = 0 ,
  OutputTexture = 1 ,
  Params = 2
}
 Resource bindings for image sampling and placement. More...

Variables

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

Detailed Description

Bindings shared by the SVG image filter program and its host.

Enumeration Type Documentation

◆ FilterImageBinding

Resource bindings for image sampling and placement.

Enumerator
ImageTexture 

Premultiplied sampled source.

OutputTexture 

Float storage destination.

Params 

Image-from-output transform and sampling parameters.