Rendering thread.
More...
#include <Scene3D.hh>
|
void | TextureReady (uint _id, const QSize &_size) |
| Signal to indicate that a frame has been rendered and ready to be displayed. More...
|
|
◆ RenderThread()
◆ RenderNext
void RenderNext |
( |
RenderSync * |
renderSync | ) |
|
|
slot |
Render the next frame.
- Parameters
-
[in] | _renderSync | RenderSync to safely synchronize Qt and worker thread (this) |
◆ ShutDown
Shutdown the thread and the render engine.
◆ SizeChanged
Slot called to update render texture size.
◆ TextureReady
void TextureReady |
( |
uint |
_id, |
|
|
const QSize & |
_size |
|
) |
| |
|
signal |
Signal to indicate that a frame has been rendered and ready to be displayed.
- Parameters
-
[in] | _id | GLuid of the opengl texture |
[in] | _size | Size of the texture |
◆ context
QOpenGLContext* context = nullptr |
OpenGL context to be passed to the render engine.
◆ ignRenderer
◆ surface
QOffscreenSurface* surface = nullptr |
Offscreen surface to render to.
The documentation for this class was generated from the following file: