All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VOP_CodeOperatorFilter Class Reference

#include <VOP_CodeGenerator.h>

+ Inheritance diagram for VOP_CodeOperatorFilter:

Public Member Functions

 VOP_CodeOperatorFilter (const char *optypename, VOP_CodeGenerator *owner)
 ~VOP_CodeOperatorFilter () override
bool allowOperatorAsChild (OP_Operator *op) override
- Public Member Functions inherited from OP_OperatorFilter
 OP_OperatorFilter ()
virtual ~OP_OperatorFilter ()
virtual bool allowTool (const char *tool_name)

Static Public Member Functions

static bool isOpVopnetMaskAllowed (OP_Operator *op, const UT_StringArray &accepted_contexts, bool is_vex)

Detailed Description

Definition at line 80 of file VOP_CodeGenerator.h.

Constructor & Destructor Documentation

VOP_CodeOperatorFilter::VOP_CodeOperatorFilter ( const char *  optypename,
VOP_CodeGenerator owner 
VOP_CodeOperatorFilter::~VOP_CodeOperatorFilter ( )

Member Function Documentation

bool VOP_CodeOperatorFilter::allowOperatorAsChild ( OP_Operator )

Returns true if an operator type can be created as a child, and false otherwise.

Reimplemented from OP_OperatorFilter.

static bool VOP_CodeOperatorFilter::isOpVopnetMaskAllowed ( OP_Operator op,
const UT_StringArray accepted_contexts,
bool  is_vex 

Returns true if operator's vopnet maks is accepted by one of the given shader contexts.

The documentation for this class was generated from the following file: