AdjustProjectionMatrixForRHI

Adjusts a projection matrix to output in the correct clip space for the current RHI.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHI.h

Include

#include "RHI.h"

Syntax

FMatrix AdjustProjectionMatrixForRHI
(
    const FMatrix & InProjectionMatrix
)

Remarks

Adjusts a projection matrix to output in the correct clip space for the current RHI. Unreal projection matrices follow certain conventions and need to be patched for some RHIs. All projection matrices should be adjusted before being used for rendering!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss