MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetProjectionMatrix

Method GetProjectionMatrix

src/engine/View.cpp:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198float4x4 PlanarView::GetProjectionMatrix(bool includeOffset) const
199{
200 EnsureCacheIsValid();
201 return includeOffset ? m_ProjMatrix * m_PixelOffsetMatrix : m_ProjMatrix;
202}
203
204float4x4 PlanarView::GetInverseProjectionMatrix(bool includeOffset) const
205{

Callers 5

RenderMethod · 0.45
RenderMotionVectorsMethod · 0.45
SetViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected