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

feTile parameters and precompiled shader projections. More...

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

Classes

struct  donner::gpu::shader::programs::TileParams
 Uniform source rectangle in pixels; non-positive extents produce transparent output. 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::TileShader ()
 Returns the WGSL tile artifact: wraparound sampling of a signed source rectangle.
const CompiledShaderView & donner::gpu::shader::programs::TileNativeShader ()
 Returns only the platform-native Tile projection.

Detailed Description

feTile parameters and precompiled shader projections.

Function Documentation

◆ TileNativeShader()

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

Returns only the platform-native Tile projection.

Returns
Stable view into process-lifetime data.

◆ TileShader()

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

Returns the WGSL tile artifact: wraparound sampling of a signed source rectangle.

Returns
Stable view into process-lifetime data.