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

Host layout and frozen shader projections for analytic clip-mask coverage. More...

#include <cstddef>
#include <cstdint>
#include "donner/gpu/shader/CompiledShader.h"
Include dependency graph for SlugMask.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::shader::programs::SlugMaskParams
 Host uniform layout consumed by the Slug mask program. More...
struct  donner::gpu::shader::programs::SlugMaskBand
 Host element layout of either band array. More...

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::SlugMaskShader ()
 Returns WGSL and the reflected vertex/fragment interface for analytic clip masks. Host path admission supplies bounded band/curve data and a convex bounding fan.
const CompiledShaderView & donner::gpu::shader::programs::SlugMaskNativeShader ()
 Returns only the platform's native MSL or SPIR-V projection and reflected interface.

Detailed Description

Host layout and frozen shader projections for analytic clip-mask coverage.

Function Documentation

◆ SlugMaskNativeShader()

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

Returns only the platform's native MSL or SPIR-V projection and reflected interface.

Returns
Stable view into a process-lifetime artifact.

◆ SlugMaskShader()

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

Returns WGSL and the reflected vertex/fragment interface for analytic clip masks. Host path admission supplies bounded band/curve data and a convex bounding fan.

Returns
Stable view into a process-lifetime artifact.