QGIS API Documentation  3.17.0-Master (ca637cfeb2)
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 226 of file qgsshadowrenderingframegraph.cpp.

◆ WorldPosFromDepth()

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

Definition at line 210 of file qgsshadowrenderingframegraph.cpp.