#include <phosphor-shaders/include/PhosphorShaders/ShaderRegistry.h>
|
| QString | uniformName () const |
| | Convert slot to uniform name (e.g., slot 0 → "customParams1_x")
|
| |
◆ uniformName()
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::uniformName |
( |
| ) |
const |
Convert slot to uniform name (e.g., slot 0 → "customParams1_x")
◆ defaultValue
| QVariant PhosphorShaders::ShaderRegistry::ParameterInfo::defaultValue |
◆ group
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::group |
◆ id
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::id |
◆ maxValue
| QVariant PhosphorShaders::ShaderRegistry::ParameterInfo::maxValue |
◆ minValue
| QVariant PhosphorShaders::ShaderRegistry::ParameterInfo::minValue |
◆ name
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::name |
◆ slot
| int PhosphorShaders::ShaderRegistry::ParameterInfo::slot = -1 |
◆ type
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::type |
"float", "color", "int", "bool", "image"
◆ unit
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::unit |
Unit the value is expressed in.
Empty for a plain number; "px" declares the value to be logical pixels of the real surface the shader draws on. A host that renders the shader at reduced size — a settings preview standing a 300px pane in for a 2560px screen — scales such values by that reduction, so the effect reads as a faithful miniature rather than an effect several times too coarse. The runtime paths draw at true size and scale nothing.
◆ useZoneColor
| bool PhosphorShaders::ShaderRegistry::ParameterInfo::useZoneColor = false |
Hint: consumer may bind to app-specific color.
◆ wrap
| QString PhosphorShaders::ShaderRegistry::ParameterInfo::wrap |
The documentation for this struct was generated from the following file: