phosphor-shaders

Shader-effect registry, base UBO layout, uniform extension contract.

The shader-domain pieces every consumer of phosphor-rendering builds on. BaseUniforms is the std140 block (Shadertoy-compatible plus two appField ints); IUniformExtension is the contract for appending application-specific data after it. ShaderRegistry discovers shader packs from search paths via metadata-pack scanning. ShaderIncludeResolver handles #include "…" / #include <…> in GLSL with a depth limit. IWallpaperProvider abstracts the active desktop wallpaper image path. Split out of the old phosphor-shell.

Full API →

Key types

BaseUniforms
std140 base UBO layout with two appField escape-hatch ints.
IUniformExtension
Contract for appending custom uniforms after the base UBO.
ShaderRegistry
Per-process shader-effect registry with hot-reload.
ShaderIncludeResolver
#include expansion with depth limit.
IWallpaperProvider
DE-portable wallpaper image-path source.
CustomParamsKey
Canonical customParams<N>_<x|y|z|w> key format.

Dependencies

See also

References