void slopeShaderNode::postConstructor( ) // // Description: // postConstructor // { setMPSafe(true); }
// the postConstructor() function is called immediately after the objects // constructor. It is not safe to call MPxNode member functions from the // constructor, instead they should be called here. // void asMicrofacet_brdf::postConstructor( ) { // setMPSafe indicates that this shader can be used for multiprocessor // rendering. For a shading node to be MP safe, it cannot access any // shared global data and should only use attributes in the datablock // to get input data and store output data. // setMPSafe( true ); }
void PtexColorNode::postConstructor( ) { m_ptex_cache = 0; m_ptex_texture = 0; m_ptex_filter = 0; MRenderCallback::addCallback( this, 255 ); setMPSafe(true); }
void liqCoShaderNode::postConstructor( ) { setMPSafe(true); // init swatch if ( swatchInit != true ) { MObject obj = MPxNode::thisMObject(); renderSwatch = new liqNodeSwatch( obj, obj, 128 ); swatchInit = true; } MGlobal::executeCommandOnIdle( "liquidCheckGlobals()", false ); }
// the postConstructor() function is called immediately after the objects // constructor. It is not safe to call MPxNode member functions from the // constructor, instead they should be called here. // void inSpecular::postConstructor( ) { MStatus stat; // setMPSafe indicates that this shader can be used for multiprocessor // rendering. For a shading node to be MP safe, it cannot access any // shared global data and should only use attributes in the datablock // to get input data and store output data. // setMPSafe( true ); MDGModifier modifier; MPlug sourcePlug = MPlug(this->thisMObject(), emission); MPlug destPlug = MPlug(this->thisMObject(), aIncandescence); if( !destPlug.isConnected() ) stat = modifier.connect(sourcePlug, destPlug); stat = modifier.doIt(); }
// // DESCRIPTION: void OSLNode::postConstructor( ) { setMPSafe(true); }
// // DESCRIPTION: /////////////////////////////////////////////////////// void PhongNode::postConstructor( ) { setMPSafe(true); }
void OpenSubdivPtexShader::postConstructor() { setMPSafe(false); }
// // DESCRIPTION: void fresnel::postConstructor( ) { setMPSafe(true); }
void mtmEnvLight::postConstructor( ) { setMPSafe(true); MFnDependencyNode nodefn(thisMObject()); nodefn.setName("mtm_envlightShape#"); }
void myComp::postConstructor( ) { setMPSafe(true); }
// // DESCRIPTION: void wrinkled::postConstructor( ) { setMPSafe(true); }
void noise3::postConstructor( ) { setMPSafe(true); }
void CoronaWire::postConstructor( ) { MStatus stat; setMPSafe( true ); this->setExistWithoutInConnections(true); }
void mtap_StandinLocator::postConstructor( ) { setMPSafe(true); MFnDependencyNode nodefn(thisMObject()); nodefn.setName("mtap_standinShape#"); }
void hwPhongShader::postConstructor( ) { TRACE_API_CALLS("postConstructor"); setMPSafe(false); }
// // DESCRIPTION: void marble::postConstructor( ) { setMPSafe(true); }
void hwUnlitShader::postConstructor( ) { setMPSafe(false); }
// // DESCRIPTION: void blender_marble::postConstructor( ) { setMPSafe(true); }
// // DESCRIPTION: void brick::postConstructor( ) { setMPSafe(true); }
void hwColorPerVertexShader::postConstructor( ) { setMPSafe(false); }
// // DESCRIPTION: /////////////////////////////////////////////////////// void Cell3D::postConstructor( ) { setMPSafe(true); }
// // DESCRIPTION: /////////////////////////////////////////////////////// void Gamma::postConstructor( ) { setMPSafe(true); }
// // DESCRIPTION: void uv::postConstructor( ) { setMPSafe(true); }
void clearcoat::postConstructor( ) { setMPSafe(true); }
void DispNode::postConstructor( ) { setMPSafe(true); }
void depthShader::postConstructor( ) { setMPSafe(true); }
void anisotropicShaderNode::postConstructor( ) { setMPSafe(true); }
void CheckerNode::postConstructor( ) { setMPSafe(true); }
// Methods void OnbShader::postConstructor() { setMPSafe(true); }