blindDataShader/blindDataPluginMain.cpp
#include "blindDataMesh.h"
#include "blindDataShader.h"
#include <maya/MFnPlugin.h>
{
MFnPlugin plugin( obj, PLUGIN_COMPANY,
"5.0",
"Any");
const MString UserClassify(
"shader/surface/utility" );
blindDataShader::id,
blindDataShader::creator,
blindDataShader::initialize,
&UserClassify );
if (!status) {
status.
perror(
"registerNode");
return status;
}
blindDataMesh::id,
blindDataMesh::creator,
blindDataMesh::initialize );
if (!status) {
status.
perror(
"registerNode");
return status;
}
return status;
}
{
status = plugin.deregisterNode( blindDataMesh::id );
if (!status) {
status.
perror(
"deregisterNode");
return status;
}
plugin.deregisterNode( blindDataShader::id );
if (!status) {
status.
perror(
"deregisterNode");
return status;
}
return status;
}