Qt3DExtras.QForwardRenderer

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

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer

Synopsis

Functions

Slots

Signals

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 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.

class PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer([parent=None])
Parameters

parentQNode

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.buffersToClear()
Return type

BufferType

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.buffersToClearChanged(arg__1)
Parameters

arg__1BufferType

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.camera()
Return type

QEntity

See also

setCamera()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.cameraChanged(camera)
Parameters

cameraQEntity

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.clearColor()
Return type

QColor

See also

setClearColor()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.clearColorChanged(clearColor)
Parameters

clearColorQColor

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.externalRenderTargetSize()
Return type

QSize

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.externalRenderTargetSizeChanged(size)
Parameters

sizeQSize

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.frustumCullingEnabledChanged(enabled)
Parameters

enabledbool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.gamma()
Return type

float

See also

setGamma()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.gammaChanged(gamma)
Parameters

gammafloat

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.isFrustumCullingEnabled()
Return type

bool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setBuffersToClear(arg__1)
Parameters

arg__1BufferType

See also

buffersToClear()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setCamera(camera)
Parameters

cameraQEntity

See also

camera()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setClearColor(clearColor)
Parameters

clearColorQColor

See also

clearColor()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setExternalRenderTargetSize(size)
Parameters

sizeQSize

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setFrustumCullingEnabled(enabled)
Parameters

enabledbool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setGamma(gamma)
Parameters

gammafloat

See also

gamma()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setShowDebugOverlay(showDebugOverlay)
Parameters

showDebugOverlaybool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setSurface(surface)
Parameters

surfaceQObject

See also

surface()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.setViewportRect(viewportRect)
Parameters

viewportRectQRectF

See also

viewportRect()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.showDebugOverlay()
Return type

bool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.showDebugOverlayChanged(showDebugOverlay)
Parameters

showDebugOverlaybool

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.surface()
Return type

QObject

See also

setSurface()

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.surfaceChanged(surface)
Parameters

surfaceQObject

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.viewportRect()
Return type

QRectF

PySide2.Qt3DExtras.Qt3DExtras.QForwardRenderer.viewportRectChanged(viewportRect)
Parameters

viewportRectQRectF