QGIS API Documentation  3.20.0-Odense (decaadbb31)
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 262 of file qgsshadowrenderingframegraph.cpp.

◆ WorldPosFromDepth()

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

Definition at line 246 of file qgsshadowrenderingframegraph.cpp.