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

Subregion clipping precompiled shader projections over the shared resolve parameters. More...

Include dependency graph for SubregionClip.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.

Typedefs

using donner::gpu::shader::programs::SubregionClipParams = FilterResolveParams
 The clip and resolve programs share one 48-byte host block; the clip ignores the conversion flag.

Functions

const CompiledShaderView & donner::gpu::shader::programs::SubregionClipShader ()
 Returns the WGSL subregion-clip artifact: float texels outside the user rectangle become transparent.
const CompiledShaderView & donner::gpu::shader::programs::SubregionClipNativeShader ()
 Returns only the platform-native SubregionClip projection.

Detailed Description

Subregion clipping precompiled shader projections over the shared resolve parameters.

Function Documentation

◆ SubregionClipNativeShader()

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

Returns only the platform-native SubregionClip projection.

Returns
Stable view into process-lifetime data.

◆ SubregionClipShader()

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

Returns the WGSL subregion-clip artifact: float texels outside the user rectangle become transparent.

Returns
Stable view into process-lifetime data.