6 #ifndef MATERIALX_HWTRANSFORMNODE_H
7 #define MATERIALX_HWTRANSFORMNODE_H
21 virtual const string& getMatrix(
const string& fromSpace,
const string& toSpace)
const;
22 virtual const string& getModelToWorldMatrix()
const = 0;
23 virtual const string& getWorldToModelMatrix()
const = 0;
24 virtual string getHomogeneousCoordinate()
const = 0;
27 virtual string getFromSpace(
const ShaderNode&)
const;
28 virtual string getToSpace(
const ShaderNode&)
const;
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
MX_GENSHADER_API const string T_WORLD_TRANSPOSE_MATRIX
#define MATERIALX_NAMESPACE_BEGIN
MX_GENSHADER_API const string T_WORLD_MATRIX
MX_GENSHADER_API const string T_WORLD_INVERSE_TRANSPOSE_MATRIX
MX_GENSHADER_API const string T_WORLD_INVERSE_MATRIX
#define MATERIALX_NAMESPACE_END
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const
virtual void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit the function call or inline source code for given node instance in the given context...