6 #ifndef MATERIALX_COMPOUNDNODEMDL_H
7 #define MATERIALX_COMPOUNDNODEMDL_H
20 const string&
getValue()
const {
return _value; }
46 bool _unrollReturnStructMembers =
false;
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit the function call or inline source code for given node instance in the given context...
#define MATERIALX_NAMESPACE_BEGIN
void initialize(const InterfaceElement &element, GenContext &context) override
GLsizei const GLchar *const * string
static ShaderNodeImplPtr create()
Compound node implementation.
GenUserDataString(const std::string &value)
bool isReturnStruct() const
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.
std::shared_ptr< GenUserDataString > GenUserDataStringPtr
Shared pointer to a GenUserDataString.
const string & getValue() const
#define MATERIALX_NAMESPACE_END
Generator context data class to pass strings.
bool unrollReturnStructMembers() const
static const string GEN_USER_DATA_RETURN_STRUCT_FIELD_NAME
Compound node implementation.