|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Typed channel-driven displacement with transparent-border bilinear sampling. More...
#include "donner/gpu/shader/IrModule.h"#include "donner/gpu/shader/programs/DisplacementMapBindings.h"Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| ShaderResult< IrModule > | donner::gpu::shader::programs::BuildDisplacementMapModule () |
| Builds a displacement compute program. | |
Typed channel-driven displacement with transparent-border bilinear sampling.
| ShaderResult< IrModule > donner::gpu::shader::programs::BuildDisplacementMapModule | ( | ) |
Builds a displacement compute program.
Inputs and output have matching extents. The map is premultiplied RGBA; RGB selectors recover straight color while the alpha selector reads alpha directly. Source samples beyond the input bounds are transparent.