HDK
|
Vector transform implementation for hardware languages. More...
#include <HwTransformNode.h>
Static Public Member Functions | |
static ShaderNodeImplPtr | create () |
Protected Member Functions | |
const string & | getModelToWorldMatrix () const override |
const string & | getWorldToModelMatrix () const override |
string | getHomogeneousCoordinate () const override |
![]() | |
virtual const string & | getMatrix (const string &fromSpace, const string &toSpace) const |
virtual bool | shouldNormalize () const |
virtual string | getFromSpace (const ShaderNode &) const |
virtual string | getToSpace (const ShaderNode &) const |
![]() | |
ShaderNodeImpl () | |
Protected constructor. More... | |
Additional Inherited Members | |
![]() | |
void | createVariables (const ShaderNode &node, GenContext &context, Shader &shader) const override |
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. More... | |
![]() | |
virtual | ~ShaderNodeImpl () |
virtual const string & | getTarget () const |
virtual void | initialize (const InterfaceElement &element, GenContext &context) |
const string & | getName () const |
Return the name of this implementation. More... | |
size_t | getHash () const |
virtual void | addInputs (ShaderNode &node, GenContext &context) const |
Add additional inputs on a node. More... | |
virtual void | setValues (const Node &node, ShaderNode &shaderNode, GenContext &context) const |
Set values for additional inputs on a node. More... | |
virtual void | addClassification (ShaderNode &node) const |
Add additional classifications on a node. More... | |
virtual void | emitFunctionDefinition (const ShaderNode &node, GenContext &context, ShaderStage &stage) const |
Emit function definition for the given node instance. More... | |
virtual void | emitOutputVariables (const ShaderNode &node, GenContext &context, ShaderStage &stage) const |
Emit declaration and initialization of output variables to use in a function call. More... | |
virtual ShaderGraph * | getGraph () const |
virtual bool | isEditable (const ShaderInput &) const |
virtual bool | isEditable (const ShaderGraphInputSocket &) const |
![]() | |
string | _name |
size_t | _hash |
![]() | |
static const string | FROM_SPACE |
static const string | TO_SPACE |
static const string | MODEL |
static const string | OBJECT |
static const string | WORLD |
Vector transform implementation for hardware languages.
Definition at line 38 of file HwTransformNode.h.
|
static |
|
inlineoverrideprotectedvirtual |
Implements HwTransformNode.
Reimplemented in HwTransformPointNode.
Definition at line 46 of file HwTransformNode.h.
|
inlineoverrideprotectedvirtual |
Implements HwTransformNode.
Definition at line 44 of file HwTransformNode.h.
|
inlineoverrideprotectedvirtual |
Implements HwTransformNode.
Definition at line 45 of file HwTransformNode.h.