hlslShader/hlslPluginMain.cpp
#include "hlslShader.h"
#include <maya/MFnPlugin.h>
#include <maya/MIOStream.h>
#include <maya/MGlobal.h>
#include <maya/MHWShaderSwatchGenerator.h>
#include <maya/MHardwareRenderer.h>
{
MFnPlugin plugin( obj,
"Autodesk",
"1.0", MApiVersion );
{
static MString swatchName(
"hlslRenderSwatchGen");
UserClassify =
MString(
"shader/surface/utility/:swatch/"+swatchName );
}
hlslShader::sId,
hlslShader::creator,
hlslShader::initialize,
&UserClassify));
hlslShaderCmd::creator,
hlslShaderCmd::newSyntax));
}
{
}