QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Functions
qgsshadowrenderingframegraph.cpp File Reference
#include "qgsshadowrenderingframegraph.h"
#include "qgsdirectionallightsettings.h"
#include "qgscameracontroller.h"
#include "qgsrectangle.h"
#include "qgspostprocessingentity.h"
#include "qgspreviewquad.h"
Include dependency graph for qgsshadowrenderingframegraph.cpp:

Go to the source code of this file.

Functions

void calculateViewExtent (Qt3DRender::QCamera *camera, float shadowRenderingDistance, float y, float &minX, float &maxX, float &minY, float &maxY, float &minZ, float &maxZ)
 
QVector3D WorldPosFromDepth (QMatrix4x4 projMatrixInv, QMatrix4x4 viewMatrixInv, float texCoordX, float texCoordY, float depth)
 

Function Documentation

◆ calculateViewExtent()

void calculateViewExtent ( Qt3DRender::QCamera *  camera,
float  shadowRenderingDistance,
float  y,
float &  minX,
float &  maxX,
float &  minY,
float &  maxY,
float &  minZ,
float &  maxZ 
)

Definition at line 220 of file qgsshadowrenderingframegraph.cpp.

◆ WorldPosFromDepth()

QVector3D WorldPosFromDepth ( QMatrix4x4  projMatrixInv,
QMatrix4x4  viewMatrixInv,
float  texCoordX,
float  texCoordY,
float  depth 
)

Definition at line 204 of file qgsshadowrenderingframegraph.cpp.