|
ZenitUI
Retained-mode C++20 UI framework
|
One uniform exposed by a filter shader. More...
#include <FilterRegistry.hpp>
Public Member Functions | |
| FilterParam (std::string u, FilterParamType t, int ai, float fd) | |
| FilterParam (std::string u, FilterParamType t, int ai, Color cd) | |
Public Attributes | |
| std::string | uniform |
| FilterParamType | type {FilterParamType::Float} |
| int | argIndex {0} |
| float | fdef {0.0f} |
| Vec2 | vdef {} |
| Color | cdef {Colors::White} |
One uniform exposed by a filter shader.
argIndex is the index into FilterRef::args that supplies this parameter's value; if the call site did not provide enough arguments, the default (fdef, vdef, or cdef) is used instead.