#include <materialparameter.h>
Defines a type-agnostic material parameter that is used to opaquely pass data along the ParameterStorageInterface with DataDictionary objects. This class only holds a single value and no texture, but it may indicate the need for a texture representation.
Public Member Functions | |
PackedConstantParameter ()=default | |
PackedConstantParameter (Data &&value, Bool isConstant, UInt dynamicTimestamp) | |
Result< void > | CopyFrom (const PackedConstantParameter &src) |
Public Attributes | |
Data | _value |
Bool | _isConstant |
UInt | _dynamicTimestamp |
|
default |
Default constructor. Creates an empty parameter.
|
explicit |
Constructor a parameter with the opaque provided data.
Result<void> CopyFrom | ( | const PackedConstantParameter & | src | ) |
Data _value |
Bool _isConstant |
UInt _dynamicTimestamp |