esp/gfx_batch/DepthUnprojection.h file

Namespaces

namespace esp
Root namespace.
namespace esp::gfx_batch
Batch renderer.

Classes

class esp::gfx_batch::DepthShader
Depth-only shader.

Functions

auto calculateDepthUnprojection(const Magnum::Matrix4& projectionMatrix) -> Magnum::Vector2
Calculate depth unprojection coefficients for unprojectDepth()
void unprojectDepth(const Magnum::Vector2& unprojection, const Corrade::Containers::StridedArrayView2D<Magnum::Float>& depth)
Unproject depth values.