Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
SnapshotUnpremultiply.h File Reference

Snapshot unpremultiply precompiled shader projections. More...

#include <cstdint>
#include "donner/gpu/shader/CompiledShader.h"
Include dependency graph for SnapshotUnpremultiply.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.

Functions

const CompiledShaderView & donner::gpu::shader::programs::SnapshotUnpremultiplyShader ()
 Returns the WGSL snapshot artifact: premultiplied float texels become rounded straight RGBA8.
const CompiledShaderView & donner::gpu::shader::programs::SnapshotUnpremultiplyNativeShader ()
 Returns only the platform-native SnapshotUnpremultiply projection.

Detailed Description

Snapshot unpremultiply precompiled shader projections.

Function Documentation

◆ SnapshotUnpremultiplyNativeShader()

const CompiledShaderView & donner::gpu::shader::programs::SnapshotUnpremultiplyNativeShader ( )

Returns only the platform-native SnapshotUnpremultiply projection.

Returns
Stable view into process-lifetime data.

◆ SnapshotUnpremultiplyShader()

const CompiledShaderView & donner::gpu::shader::programs::SnapshotUnpremultiplyShader ( )

Returns the WGSL snapshot artifact: premultiplied float texels become rounded straight RGBA8.

Returns
Stable view into process-lifetime data.