#include <nodematerialexchange.h>
Defines a material parameter that is used to communicated via the MaterialExchangeInterface. This class only holds a single value and no texture, but it may indicate the need for a texture representation.
Public Member Functions | |
TypedMaterialParameter ()=default | |
TypedMaterialParameter (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.
TypedMaterialParameter | ( | 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 |