QForwardRenderer Class

class Qt3DExtras::QForwardRenderer

The QForwardRenderer provides a default FrameGraph implementation of a forward renderer. More...

Header: #include <QForwardRenderer>
qmake: QT += 3dextras
Since: Qt 5.7
Instantiated By: ForwardRenderer
Inherits: Qt3DRender::QTechniqueFilter

This class was introduced in Qt 5.7.

Detailed Description

Forward rendering is what OpenGL traditionally uses. It renders directly to the backbuffer one object at a time shading each one as it goes.

QForwardRenderer is a single leaf FrameGraph tree which contains a Qt3DRender::QViewport, a Qt3DRender::QCameraSelector, and a Qt3DRender::QClearBuffers. The QForwardRenderer has a default requirement filter key whose name is "renderingStyle" and value "forward". If you need to filter out your techniques, you should do so based on that filter key.

By default the viewport occupies the whole screen and the clear color is white. Frustum culling is also enabled.