miscellaneous/pyfbsdk_template/orpyfbsdk_template_pyshadertemplate.cxx
#include "orpyfbsdk_common.h"
class ORShader_Template_Wrapper_Container : public ORShader_Template_Wrapper
{
public:
ORShader_Template_Wrapper_Container(
PyObject* pPyObject,
char* pName =
NULL)
: ORShader_Template_Wrapper( pName )
{
mSelf = pPyObject;
}
ORShader_Template_Wrapper_Container(
PyObject* pPyObject, FBMaterial_Wrapper& pMaterial )
: ORShader_Template_Wrapper( pMaterial)
{
mSelf = pPyObject;
}
};
void ORShaderTemplate_Init()
{
REGISTER_FBWRAPPER_FORWARD( ORShader_Template )
class_<ORShader_Template_Wrapper,bases<FBShader_Wrapper>, ORShader_Template_Wrapper_Container, boost::noncopyable >("ORShaderTemplate",init< optional<char*> >())
.def(init<FBMaterial_Wrapper&>())
;
REGISTER_FBWRAPPER( ORShader_Template );
}