|
HDK
|
#include <ShaderGraphRefactor.h>
Inheritance diagram for NodeElisionRefactor:Public Member Functions | |
| const string & | getName () const override |
| Return the name of this refactoring pass. More... | |
| size_t | execute (ShaderGraph &graph, GenContext &context) override |
Public Member Functions inherited from ShaderGraphRefactor | |
| virtual | ~ShaderGraphRefactor () |
Removes constant and dot nodes by bypassing them. Constant nodes have their values moved downstream, and dot nodes with filename-typed inputs are elided to prevent extra samplers.
Definition at line 46 of file ShaderGraphRefactor.h.
|
overridevirtual |
Execute the pass on the given graph. Return the number of graph edits made, or zero if the pass is not applicable to the current context.
Implements ShaderGraphRefactor.
|
overridevirtual |
Return the name of this refactoring pass.
Implements ShaderGraphRefactor.