#ifndef _HAIR_VRAY_EXPORTER_H_ #define _HAIR_VRAY_EXPORTER_H_ // Shave and a Haircut // (c) 2019 Epic Games // US Patent 6720962 #ifdef SHAVEVRAYEXPORTER_EXPORTS # ifdef __GNUC__ # define SHAVEVRAYEXPORTER_EXPORT __attribute__((__visibility__("default"))) # else # define SHAVEVRAYEXPORTER_EXPORT __declspec(dllexport) # endif #else # ifdef __GNUC__ # define SHAVEVRAYEXPORTER_EXPORT # else # define SHAVEVRAYEXPORTER_EXPORT __declspec(dllimport) # endif #endif #include #include // Implemented in supplemental library // See usage in shaveVrayNode.cpp class shaveVrayExporter { public: /// Create V-Ray plugin from passed parameters virtual void createVRayPlugin( void *voidGeomInfo, const MString &libPath, int stackIdx, bool ownshader, bool isInstanced, const MObject &instance, bool tipfade, bool squirrel, const MColor &spec_tint, const MColor &spec_tint2, bool camVis, bool lightVis, bool giVis, bool reflVis, bool refrVis, float selfShadow, bool recvShadow )=0; /// Read DRA to the V-Ray plugin's dra param virtual bool readDraToParam(const char *draFilename)=0; virtual ~shaveVrayExporter() {} }; #endif // _HAIR_VRAY_EXPORTER_H_