QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
Public Member Functions | List of all members
QgsPostprocessingEntity Class Reference

3 More...

#include <qgspostprocessingentity.h>

Inheritance diagram for QgsPostprocessingEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsPostprocessingEntity (QgsShadowRenderingFrameGraph *frameGraph, QNode *parent=nullptr)
 Constructor. More...
 
void setAmbientOcclusionEnabled (bool enabled)
 Sets whether screen space ambient occlusion is enabled. More...
 
void setEyeDomeLightingDistance (int distance)
 Sets the eye dome lighting distance (contributes to the contrast of the image) More...
 
void setEyeDomeLightingEnabled (bool enabled)
 Sets whether eye dome lighting is enabled. More...
 
void setEyeDomeLightingStrength (double strength)
 Sets the eye dome lighting strength. More...
 
void setShadowBias (float shadowBias)
 Sets the shadow bias value. More...
 
void setShadowRenderingEnabled (bool enabled)
 Sets whether shadow rendering is enabled. More...
 
void setupDirectionalLight (QVector3D position, QVector3D direction)
 Sets up a directional light that is used to render shadows. More...
 
void setupShadowRenderingExtent (float minX, float maxX, float minZ, float maxZ)
 Sets the parts of the scene where objects cast shadows. More...
 
- Public Member Functions inherited from QgsRenderPassQuad
 QgsRenderPassQuad (QNode *parent=nullptr)
 Constructor. More...
 
Qt3DRender::QLayer * layer ()
 Returns the layer object used to select this entity for rendering in a specific rendering pass. More...
 

Additional Inherited Members

- Protected Attributes inherited from QgsRenderPassQuad
Qt3DRender::QLayer * mLayer = nullptr
 
Qt3DRender::QMaterial * mMaterial = nullptr
 
Qt3DRender::QShaderProgram * mShader = nullptr
 

Detailed Description

3

An entity that is responsible for applying post processing effect.

Note
Not available in Python bindings
Since
QGIS 3.16

Definition at line 33 of file qgspostprocessingentity.h.

Constructor & Destructor Documentation

◆ QgsPostprocessingEntity()

QgsPostprocessingEntity::QgsPostprocessingEntity ( QgsShadowRenderingFrameGraph frameGraph,
QNode *  parent = nullptr 
)

Constructor.

Definition at line 45 of file qgspostprocessingentity.cpp.

Member Function Documentation

◆ setAmbientOcclusionEnabled()

void QgsPostprocessingEntity::setAmbientOcclusionEnabled ( bool  enabled)

Sets whether screen space ambient occlusion is enabled.

Since
QGIS 3.28

Definition at line 176 of file qgspostprocessingentity.cpp.

◆ setEyeDomeLightingDistance()

void QgsPostprocessingEntity::setEyeDomeLightingDistance ( int  distance)

Sets the eye dome lighting distance (contributes to the contrast of the image)

Definition at line 171 of file qgspostprocessingentity.cpp.

◆ setEyeDomeLightingEnabled()

void QgsPostprocessingEntity::setEyeDomeLightingEnabled ( bool  enabled)

Sets whether eye dome lighting is enabled.

Definition at line 161 of file qgspostprocessingentity.cpp.

◆ setEyeDomeLightingStrength()

void QgsPostprocessingEntity::setEyeDomeLightingStrength ( double  strength)

Sets the eye dome lighting strength.

Definition at line 166 of file qgspostprocessingentity.cpp.

◆ setShadowBias()

void QgsPostprocessingEntity::setShadowBias ( float  shadowBias)

Sets the shadow bias value.

Definition at line 156 of file qgspostprocessingentity.cpp.

◆ setShadowRenderingEnabled()

void QgsPostprocessingEntity::setShadowRenderingEnabled ( bool  enabled)

Sets whether shadow rendering is enabled.

Definition at line 151 of file qgspostprocessingentity.cpp.

◆ setupDirectionalLight()

void QgsPostprocessingEntity::setupDirectionalLight ( QVector3D  position,
QVector3D  direction 
)

Sets up a directional light that is used to render shadows.

Definition at line 145 of file qgspostprocessingentity.cpp.

◆ setupShadowRenderingExtent()

void QgsPostprocessingEntity::setupShadowRenderingExtent ( float  minX,
float  maxX,
float  minZ,
float  maxZ 
)

Sets the parts of the scene where objects cast shadows.

Definition at line 137 of file qgspostprocessingentity.cpp.


The documentation for this class was generated from the following files: