PaladinOfKaos
14th March 2007, 16:00
I'm working on an app using OpenGL and FBOs. The FBOs need to use the same basic rendering code as the main window, so I'm left with two choices:
MyRenderer: public QGLWidget, private CoreRenderer
{
}
-OR-
MyRenderer: public QGLWidget
{
private:
CoreRenderer renderer;
}
The same options also exist for the FBO class.
Will Qt care which way I do it? And if not, which way would work nicest with Qt?
MyRenderer: public QGLWidget, private CoreRenderer
{
}
-OR-
MyRenderer: public QGLWidget
{
private:
CoreRenderer renderer;
}
The same options also exist for the FBO class.
Will Qt care which way I do it? And if not, which way would work nicest with Qt?