HDK
|
#include <VOP_HDACodeCompiler.h>
Public Member Functions | |
VOP_AutoHDACodeCompiler (const OP_Node *srcnode, bool for_network_hda, const char *shader_name=nullptr) | |
~VOP_AutoHDACodeCompiler () | |
VOP_HDACodeCompiler * | getCC () const |
Obtain the underlying code compiler. More... | |
A convenience class that automatically chooses a suitable compiler object given the node type and the kind of HDA (network-based or code-only).
Definition at line 404 of file VOP_HDACodeCompiler.h.
VOP_AutoHDACodeCompiler::VOP_AutoHDACodeCompiler | ( | const OP_Node * | srcnode, |
bool | for_network_hda, | ||
const char * | shader_name = nullptr |
||
) |
Constructor that initializes the object to use an instance of an HDA code compiler object that is suitable for compiling vfl/vex code. srcnode The HDA node whose network is going to be compiled into the vex code. for_network_hda If true, the compiler will be able to compileVexCodeToSections(), ie it is suitable for network-based HDAs with additional cached code sections. Otherwise, it will be able to compileNewOperatorType(), ie it is suitable for code-based HDAs (with no network).
VOP_AutoHDACodeCompiler::~VOP_AutoHDACodeCompiler | ( | ) |
|
inline |
Obtain the underlying code compiler.
Definition at line 422 of file VOP_HDACodeCompiler.h.