|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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 | 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 | setShadowRenderingEnabled (bool enabled) |
| Sets whether shadow rendering is enabled. | |
| void | setupDirectionalLight (QVector3D position, QVector3D direction) |
| Sets up a directional light that is used to render shadows. | |
| void | setupShadowRenderingExtent (float minX, float maxX, float minY, float maxY) |
| Sets the parts of the scene where objects cast shadows. | |
| 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 35 of file qgspostprocessingentity.h.
| QgsPostprocessingEntity::QgsPostprocessingEntity | ( | QgsFrameGraph * | frameGraph, |
| Qt3DRender::QLayer * | layer, | ||
| QNode * | parent = nullptr |
||
| ) |
Constructor.
Definition at line 51 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setAmbientOcclusionEnabled | ( | bool | enabled | ) |
Sets whether screen space ambient occlusion is enabled.
Definition at line 206 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 201 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingEnabled | ( | bool | enabled | ) |
Sets whether eye dome lighting is enabled.
Definition at line 191 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingStrength | ( | double | strength | ) |
Sets the eye dome lighting strength.
Definition at line 196 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowBias | ( | float | shadowBias | ) |
Sets the shadow bias value.
Definition at line 186 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowRenderingEnabled | ( | bool | enabled | ) |
Sets whether shadow rendering is enabled.
Definition at line 181 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setupDirectionalLight | ( | QVector3D | position, |
| QVector3D | direction | ||
| ) |
Sets up a directional light that is used to render shadows.
Definition at line 148 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setupShadowRenderingExtent | ( | float | minX, |
| float | maxX, | ||
| float | minY, | ||
| float | maxY | ||
| ) |
Sets the parts of the scene where objects cast shadows.
Definition at line 140 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::updateShadowSettings | ( | const QgsDirectionalLightSettings & | light, |
| float | maximumShadowRenderingDistance | ||
| ) |
Sets shadow rendering to use a directional light.
Definition at line 154 of file qgspostprocessingentity.cpp.