|
QGIS API Documentation 4.1.0-Master (31622b25bb0)
|
An entity that is responsible for applying post processing effects. More...
#include <qgspostprocessingentity.h>

Public Member Functions | |
| QgsPostprocessingEntity (QgsFrameGraph *frameGraph, Qt3DRender::QLayer *layer, QNode *parent=nullptr) | |
| Constructor. | |
| void | setAmbientOcclusionEnabled (bool enabled) |
| Sets whether screen space ambient occlusion is enabled. | |
| void | setBloomEnabled (bool enabled) |
| Sets whether physically based bloom is enabled. | |
| void | setBloomFactor (float factor) |
| Sets the bloom factor, which controls the strength of the bloom effect. | |
| void | setEyeDomeLightingDistance (int distance) |
| Sets the eye dome lighting distance (contributes to the contrast of the image). | |
| void | setEyeDomeLightingEnabled (bool enabled) |
| Sets whether eye dome lighting is enabled. | |
| void | setEyeDomeLightingStrength (double strength) |
| Sets the eye dome lighting strength. | |
| void | setShadowBias (float shadowBias) |
| Sets the shadow bias value. | |
| void | setShadowLightIndex (int index) |
| Sets the index of the directional light that is casting shadows. | |
| void | setShadowMapResolution (int resolution) |
| Sets the shadow texture map resolution. | |
| void | setShadowRenderingEnabled (bool enabled) |
| Sets whether shadow rendering is enabled. | |
| void | setShowCascadingShadowSplits (bool enabled) |
| Sets whether the splits between cascading shadow map boundaries should be shown. | |
| void | updateShadowSettings (const QgsDirectionalLightSettings &light, float maximumShadowRenderingDistance) |
| Sets shadow rendering to use a directional light. | |
| Public Member Functions inherited from QgsRenderPassQuad | |
| QgsRenderPassQuad (Qt3DRender::QLayer *layer, QNode *parent=nullptr) | |
| Constructor. | |
Additional Inherited Members | |
| Protected Attributes inherited from QgsRenderPassQuad | |
| Qt3DRender::QMaterial * | mMaterial = nullptr |
| Qt3DRender::QShaderProgram * | mShader = nullptr |
An entity that is responsible for applying post processing effects.
Definition at line 43 of file qgspostprocessingentity.h.
| QgsPostprocessingEntity::QgsPostprocessingEntity | ( | QgsFrameGraph * | frameGraph, |
| Qt3DRender::QLayer * | layer, | ||
| QNode * | parent = nullptr ) |
Constructor.
Definition at line 42 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setAmbientOcclusionEnabled | ( | bool | enabled | ) |
Sets whether screen space ambient occlusion is enabled.
Definition at line 299 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setBloomEnabled | ( | bool | enabled | ) |
Sets whether physically based bloom is enabled.
Definition at line 304 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setBloomFactor | ( | float | factor | ) |
Sets the bloom factor, which controls the strength of the bloom effect.
The default factor is 0.05.
Definition at line 309 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingDistance | ( | int | distance | ) |
Sets the eye dome lighting distance (contributes to the contrast of the image).
Definition at line 294 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingEnabled | ( | bool | enabled | ) |
Sets whether eye dome lighting is enabled.
Definition at line 284 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingStrength | ( | double | strength | ) |
Sets the eye dome lighting strength.
Definition at line 289 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowBias | ( | float | shadowBias | ) |
Sets the shadow bias value.
Definition at line 274 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowLightIndex | ( | int | index | ) |
Sets the index of the directional light that is casting shadows.
Definition at line 269 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowMapResolution | ( | int | resolution | ) |
Sets the shadow texture map resolution.
Definition at line 279 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowRenderingEnabled | ( | bool | enabled | ) |
Sets whether shadow rendering is enabled.
Definition at line 249 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShowCascadingShadowSplits | ( | bool | enabled | ) |
Sets whether the splits between cascading shadow map boundaries should be shown.
Definition at line 254 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::updateShadowSettings | ( | const QgsDirectionalLightSettings & | light, |
| float | maximumShadowRenderingDistance ) |
Sets shadow rendering to use a directional light.
Definition at line 132 of file qgspostprocessingentity.cpp.