#include <nodematerialexchange.h>
Defines a type-agnostic material parameter that is used to opaquely pass data along the MaterialExchangeInterface 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 | |
PackedMaterialParameter ()=default | |
PackedMaterialParameter (Data &&value, Bool isConstant, UInt dynamicTimestamp) | |
Result< void > | CopyFrom (const PackedMaterialParameter &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 PackedMaterialParameter & | src | ) |
Data _value |
Bool _isConstant |
UInt _dynamicTimestamp |