Commit 6c794986 authored by Jan Möbius's avatar Jan Möbius

Updated rendering interface



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12267 383ad7c9-94d9-4d36-a494-682f7c89f535
parent df29536d
......@@ -76,7 +76,24 @@ class RenderInterface {
* If you need to initialize something,you can do it within this function.
* gl and glew are already setUp here.
*/
virtual void render(/* Unknow options yet.. to be evaluated*/);
virtual void render(/* Unknow options yet.. to be evaluated*/) {};
/** \brief announce available draw modes
*
* This function is called by the core to get a list of draw modes that is supported
* by the render function in the plugin.
*
* @param _mode Combined list of supported drawmodes
*/
virtual void supportedDrawModes(ACG::SceneGraph::DrawModes::DrawMode& _mode) {};
/** \brief announce name for the rendering function
*
*
* @param _name displayed name of the rendering function
*/
virtual void rendererName(QString& _name) {};
signals:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment