QForwardRenderer¶
- PyQt5.Qt3DExtras.QForwardRenderer
Inherits from QTechniqueFilter.
Description¶
The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.
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 QViewport, a QCameraSelector, and a 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.
Methods¶
- __init__(parent: QNode = None)
TODO
- buffersToClear() BufferType
TODO
- camera() QEntity
See also
- clearColor() QColor
See also
- externalRenderTargetSize() QSize
See also
- gamma() float
See also
- isFrustumCullingEnabled() bool
TODO
- setBuffersToClear(BufferType)
TODO
- setClearColor(Union[QColor, GlobalColor])
See also
- setExternalRenderTargetSize(QSize)
See also
- setFrustumCullingEnabled(bool)
See also
- setGamma(float)
See also
- setShowDebugOverlay(bool)
TODO
- setViewportRect(QRectF)
See also
- showDebugOverlay() bool
TODO
- surface() QObject
See also
- viewportRect() QRectF
See also
Signals¶
- buffersToClearChanged(BufferType)
TODO
- cameraChanged(QEntity)
TODO
- clearColorChanged(Union[QColor, GlobalColor])
TODO
- externalRenderTargetSizeChanged(QSize)
TODO
- frustumCullingEnabledChanged(bool)
TODO
- gammaChanged(float)
TODO
- showDebugOverlayChanged(bool)
TODO
- surfaceChanged(QObject)
TODO
- viewportRectChanged(QRectF)
TODO