#include <QLatin1Char>#include <QString>Go to the source code of this file.
Namespaces | |
| namespace | PhosphorShaders |
| namespace | PhosphorShaders::CustomParams |
Canonical key format for the customParams[N]. | |
| namespace | PhosphorShaders::CustomColors |
Canonical key format for the customColors[N] slots in BaseUniforms. | |
Functions | |
| QString | PhosphorShaders::CustomParams::slotKey (int vec, char comp) |
Format a customParams slot key from explicit (vec, comp) pair. | |
| QString | PhosphorShaders::CustomParams::slotKey (int slot) |
Format a customParams slot key from a flat sub-slot index in [0, kFlatSlotCount). | |
| QString | PhosphorShaders::CustomColors::colorKey (int slot) |
| Format a customColor key from a 0-based slot index. | |
Variables | |
| constexpr int | PhosphorShaders::CustomParams::kVecCount = 8 |
Number of vec4 slots in BaseUniforms::customParams[8]. | |
| constexpr int | PhosphorShaders::CustomParams::kFlatSlotCount = 4 * kVecCount |
| Number of float sub-slots across all vec4s (4 × kVecCount). | |
| constexpr int | PhosphorShaders::CustomColors::kColorCount = 16 |
Number of color slots in BaseUniforms::customColors[16]. | |