esp/gfx/DepthUnprojection.h file

Contents

Namespaces

namespace esp
Root namespace.
namespace esp::gfx
GFX library.

Classes

class esp::gfx::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, Corrade::Containers::ArrayView<Magnum::Float> depth)
Unproject depth values.