QRenderSettings Class
(Qt3DRender::QRenderSettings)The QRenderSettings class More...
Header: | #include <QRenderSettings> |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Inherits: | Qt3DCore::QComponent |
Public Types
enum | RenderPolicy { OnDemand, Always } |
Properties
- activeFrameGraph : Qt3DRender::QFrameGraphNode *
- pickingSettings : QPickingSettings * const
- renderPolicy : RenderPolicy
- 1 property inherited from Qt3DCore::QComponent
- 2 properties inherited from Qt3DCore::QNode
Public Functions
QRenderSettings(Qt3DCore::QNode *parent = nullptr) | |
QFrameGraphNode * | activeFrameGraph() const |
QPickingSettings * | pickingSettings() |
RenderPolicy | renderPolicy() const |
- 2 public functions inherited from Qt3DCore::QComponent
- 6 public functions inherited from Qt3DCore::QNode
Public Slots
void | setActiveFrameGraph(QFrameGraphNode *activeFrameGraph) |
void | setRenderPolicy(RenderPolicy renderPolicy) |
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
Signals
void | activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph) |
void | renderPolicyChanged(RenderPolicy renderPolicy) |
- 1 signal inherited from Qt3DCore::QComponent
- 3 signals inherited from Qt3DCore::QNode
Additional Inherited Members
- 2 protected functions inherited from Qt3DCore::QNode
Detailed Description
The QRenderSettings class
Property Documentation
activeFrameGraph : Qt3DRender::QFrameGraphNode *
Access functions:
QFrameGraphNode * | activeFrameGraph() const |
void | setActiveFrameGraph(QFrameGraphNode *activeFrameGraph) |
Notifier signal:
void | activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph) |
pickingSettings : QPickingSettings * const
Access functions:
QPickingSettings * | pickingSettings() |
renderPolicy : RenderPolicy
Access functions:
RenderPolicy | renderPolicy() const |
void | setRenderPolicy(RenderPolicy renderPolicy) |
Notifier signal:
void | renderPolicyChanged(RenderPolicy renderPolicy) |
Member Function Documentation
QRenderSettings::QRenderSettings(Qt3DCore::QNode *parent = nullptr)
The constructor creates a new QRenderSettings::QRenderSettings instance with the specified parent. parent
QFrameGraphNode *QRenderSettings::activeFrameGraph() const
Returns the current active framegraph.
Note: Getter function for property activeFrameGraph.
See also setActiveFrameGraph().
QPickingSettings *QRenderSettings::pickingSettings()
Returns the current picking settings.
Note: Getter function for property pickingSettings.
RenderPolicy QRenderSettings::renderPolicy() const
Returns the current render policy
Note: Getter function for property renderPolicy.
See also setRenderPolicy().
[slot]
void QRenderSettings::setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)
Sets the active framegraph to activeFrameGraph. activeFrameGraph
Note: Setter function for property activeFrameGraph.
See also activeFrameGraph().
[slot]
void QRenderSettings::setRenderPolicy(RenderPolicy renderPolicy)
Sets the render policy to renderPolicy. renderPolicy
Note: Setter function for property renderPolicy.
See also renderPolicy().