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

#include <SHOP_OperatorInfo.h>

+ Inheritance diagram for SHOP_OperatorInfo:

Public Member Functions

 SHOP_OperatorInfo (int autoadd=SHOP_AUTOADD_ANY, const char *rmask="*", SHOP_TYPE type=SHOP_INVALID)
 
 ~SHOP_OperatorInfo () override
 
const char * getRenderMask () const
 
SHOP_TYPE getShaderType () const
 
bool isRenderMaskRSL () const
 
void setShaderType (SHOP_TYPE t)
 
void setRenderMask (const char *t)
 
void saveToDialogScript (std::ostream &os) const override
 
void updateExtraInfoBuffer (OP_ExtraInfoBuffer &b) const override
 
void setNumOutputs (int n)
 
int getNumOutputs () const
 
VEX_ContextType getVexContextType () const
 
RSL_ContextType getRslContextType () const
 
VOP_LanguageContextTypeListnewLanguageContextTypeList () const
 
bool skipInputEditor () const
 
void setSkipInputEditor (bool v)
 
void setIsMultiContextMaterial (bool flag)
 
bool getIsMultiContextMaterial () const
 
void setHasInputsForCoshaderParms (bool flag)
 Has node input connectors corresponding to co-shader parameters. More...
 
bool hasInputsForCoshaderParms () const
 Has node input connectors corresponding to co-shader parameters. More...
 
- Public Member Functions inherited from OP_SpecificData
 OP_SpecificData ()
 
virtual ~OP_SpecificData ()
 

Detailed Description

Examples:
SHOP/SHOP_Multi.C, and SHOP/SHOP_POVMaterial.C.

Definition at line 38 of file SHOP_OperatorInfo.h.

Constructor & Destructor Documentation

SHOP_OperatorInfo::SHOP_OperatorInfo ( int  autoadd = SHOP_AUTOADD_ANY,
const char *  rmask = "*",
SHOP_TYPE  type = SHOP_INVALID 
)
SHOP_OperatorInfo::~SHOP_OperatorInfo ( )
override

Member Function Documentation

bool SHOP_OperatorInfo::getIsMultiContextMaterial ( ) const
inline

Flag that indicates whether the operator is a vopnet shop material containing many shading contexts (eg, surface, displacement, etc).

Definition at line 80 of file SHOP_OperatorInfo.h.

int SHOP_OperatorInfo::getNumOutputs ( ) const
inline

Definition at line 58 of file SHOP_OperatorInfo.h.

const char* SHOP_OperatorInfo::getRenderMask ( ) const
inline

Definition at line 46 of file SHOP_OperatorInfo.h.

RSL_ContextType SHOP_OperatorInfo::getRslContextType ( ) const
SHOP_TYPE SHOP_OperatorInfo::getShaderType ( ) const
inline

Definition at line 47 of file SHOP_OperatorInfo.h.

VEX_ContextType SHOP_OperatorInfo::getVexContextType ( ) const
bool SHOP_OperatorInfo::hasInputsForCoshaderParms ( ) const
inline

Has node input connectors corresponding to co-shader parameters.

Definition at line 87 of file SHOP_OperatorInfo.h.

bool SHOP_OperatorInfo::isRenderMaskRSL ( ) const
VOP_LanguageContextTypeList* SHOP_OperatorInfo::newLanguageContextTypeList ( ) const

Obtains context types applicable for the shop. For single-context shaders, the list will contain a single entry. For multi-context shaders the list will contain several entries. If error, the list will be empty. Creates a new instance, thus it is caller's responsibility to delete it.

void SHOP_OperatorInfo::saveToDialogScript ( std::ostream &  os) const
overridevirtual

Implements OP_SpecificData.

void SHOP_OperatorInfo::setHasInputsForCoshaderParms ( bool  flag)
inline

Has node input connectors corresponding to co-shader parameters.

Definition at line 85 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setIsMultiContextMaterial ( bool  flag)
inline

Flag that indicates whether the operator is a vopnet shop material containing many shading contexts (eg, surface, displacement, etc).

Definition at line 78 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setNumOutputs ( int  n)
inline

Definition at line 57 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setRenderMask ( const char *  t)
void SHOP_OperatorInfo::setShaderType ( SHOP_TYPE  t)
void SHOP_OperatorInfo::setSkipInputEditor ( bool  v)
inline

Definition at line 72 of file SHOP_OperatorInfo.h.

bool SHOP_OperatorInfo::skipInputEditor ( ) const
inline

Definition at line 70 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::updateExtraInfoBuffer ( OP_ExtraInfoBuffer b) const
overridevirtual

Reimplemented from OP_SpecificData.


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