Function getViewProjMatrix

Synopsis

#include <Source/Falcor/Scene/Camera/Camera.h>

const glm::mat4 & getViewProjMatrix() const

Description

Get the view-projection matrix.

Source

Lines 210-214 in Source/Falcor/Scene/Camera/Camera.cpp. Line 209 in Source/Falcor/Scene/Camera/Camera.h.

const glm::mat4& Camera::getViewProjMatrix() const
{
    calculateCameraParameters();
    return mData.viewProjMat;
}





Add Discussion as Guest

Log in