#include <phosphor-shaders/include/PhosphorShaders/ShaderParamPreamble.h>
◆ Pool
Which UBO region the parameter occupies.
The three pools number independently (a color does not consume a scalar sub-slot). • Scalar — float / int / bool → customParams[N].<xyzw> • Color — color → customColors[N] • Image — image/texture → uTexture<N> (overlay/zone only; animation packs declare textures separately and never use this pool)
| Enumerator |
|---|
| Scalar | |
| Color | |
| Image | |
◆ explicitSlot
| int PhosphorShaders::PreambleParam::explicitSlot = -1 |
Explicit slot from metadata, or -1 to auto-assign by declaration order within the parameter's pool.
Overlay (zone) packs currently carry explicit slots; animation packs always auto-assign. The resolved slot MUST match the slot the runtime uploads the value to, or p_<id> reads the wrong lane — callers pass whichever the runtime uses.
◆ id
| QString PhosphorShaders::PreambleParam::id |
◆ pool
The documentation for this struct was generated from the following file: