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

Precompiled diffuse lighting projections over the shared lighting parameter layout. More...

Include dependency graph for DiffuseLighting.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::DiffuseLightingShader ()
 Returns the WGSL diffuse-lighting artifact for distant, point and spot lights.
const CompiledShaderView & donner::gpu::shader::programs::DiffuseLightingNativeShader ()
 Returns only the platform-native DiffuseLighting projection.

Detailed Description

Precompiled diffuse lighting projections over the shared lighting parameter layout.

Function Documentation

◆ DiffuseLightingNativeShader()

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

Returns only the platform-native DiffuseLighting projection.

Returns
Stable view into process-lifetime data.

◆ DiffuseLightingShader()

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

Returns the WGSL diffuse-lighting artifact for distant, point and spot lights.

Returns
Stable view into process-lifetime data.