QRenderSettings露
The
QRenderSettingsclass holds settings related to rendering process and host the active FrameGraph . More鈥�

Synopsis露
Functions露
def
activeFrameGraph()def
pickingSettings()def
renderCapabilities()def
renderPolicy()
Slots露
def
setActiveFrameGraph(activeFrameGraph)def
setRenderPolicy(renderPolicy)
Signals露
def
activeFrameGraphChanged(activeFrameGraph)def
renderPolicyChanged(renderPolicy)
Detailed Description露
The
QRenderSettingscomponent must be set as a component of the scene root entity. It specifies render policy and picking settings, as well as hosts the active FrameGraph .
- class PySide2.Qt3DRender.Qt3DRender.QRenderSettings([parent=None])露
- Parameters:
parent 鈥�
PySide2.Qt3DCore.Qt3DCore.QNode
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.RenderPolicy露
The render policy.
Constant
Description
Qt3DRender.QRenderSettings.OnDemand
The FrameGraph is rendered only when something changes.
Qt3DRender.QRenderSettings.Always
The FrameGraph is rendered continuously, even if nothing has changed.
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraph()露
- Return type:
Holds the currently active FrameGraph .
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraphChanged(activeFrameGraph)露
- Parameters:
activeFrameGraph 鈥�
PySide2.Qt3DRender.Qt3DRender.QFrameGraphNode
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.pickingSettings()露
- Return type:
Holds the current pick settings for the FrameGraph .
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.renderCapabilities()露
- Return type:
Holds the details of the supported rendering engine
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicy()露
- Return type:
Holds the current render policy.
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicyChanged(renderPolicy)露
- Parameters:
renderPolicy 鈥�
RenderPolicy
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.setActiveFrameGraph(activeFrameGraph)露
- Parameters:
activeFrameGraph 鈥�
PySide2.Qt3DRender.Qt3DRender.QFrameGraphNode
Holds the currently active FrameGraph .
- PySide2.Qt3DRender.Qt3DRender.QRenderSettings.setRenderPolicy(renderPolicy)露
- Parameters:
renderPolicy 鈥�
RenderPolicy
Holds the current render policy.
漏 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.