#include <materialparameter.h>
Defines a material parameter that is used to communicated via the ParameterStorageInterface. This class only holds a single value and no texture, but it may indicate the need for a texture representation.
Public Member Functions | |
TypedConstantParameter ()=default | |
TypedConstantParameter (TYPE &&value, Bool isConstant, UInt dynamicTimestamp, const InternedId &id) | |
Public Attributes | |
TYPE | _value |
Bool | _isConstant |
UInt | _dynamicTimestamp |
InternedId | _id |
|
default |
Default constructor. Creates an empty parameter.
TypedConstantParameter | ( | TYPE && | value, |
Bool | isConstant, | ||
UInt | dynamicTimestamp, | ||
const InternedId & | id | ||
) |
Constructor a parameter with the provided typed data.
TYPE _value |
Bool _isConstant |
UInt _dynamicTimestamp |
InternedId _id |