|
Katana Plug-in APIs 0.1
|
00001 // Copyright (c) 2018 The Foundry Visionmongers Ltd. All Rights Reserved. 00002 00003 #ifndef KATANA_PLUGINS_PROFILINGMOCKRENDERER_PROFILINGMOCKRENDERPLUGIN_H_ 00004 #define KATANA_PLUGINS_PROFILINGMOCKRENDERER_PROFILINGMOCKRENDERPLUGIN_H_ 00005 00006 #include <string> 00007 00008 #include <FnAttribute/FnAttribute.h> 00009 #include <FnRender/plugin/RenderBase.h> 00010 00011 namespace ProfilingMockRenderer 00012 { 00106 class RenderPlugin : public FnKat::Render::RenderBase 00107 { 00108 public: 00115 RenderPlugin(FnKat::FnScenegraphIterator rootIterator, 00116 FnAttribute::GroupAttribute arguments); 00117 00119 ~RenderPlugin() override; 00120 00130 static FnKat::Render::RenderBase* create( 00131 FnKat::FnScenegraphIterator rootIterator, 00132 FnAttribute::GroupAttribute arguments); 00133 00134 static void flush() {} 00135 00136 /* RenderBase Methods */ 00137 00145 int start() override; 00146 00152 int stop() override; 00153 00159 void configureDiskRenderOutputProcess( 00160 FnKat::Render::DiskRenderOutputProcess& diskRenderOutputProcess, 00161 const std::string& outputName, 00162 const std::string& outputPath, 00163 const std::string& renderMethodName, 00164 const float& frameTime) const override; 00165 }; 00166 00169 } // namespace ProfilingMockRenderer 00170 00171 #endif // KATANA_PLUGINS_PROFILINGMOCKRENDERER_PROFILINGMOCKRENDERPLUGIN_H_
1.7.3