Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::CameraData Struct Reference

Uniform buffer object holding camera view-projection matrix. More...

#include <SceneRenderer.h>

Public Attributes

Crux::mat4 ViewProjection
 ViewProjection matrix combining camera view and projection.
Crux::mat4 View
 View matrix.
Crux::mat4 Projection
 Projection matrix.
Crux::vec3 CameraPosition

Detailed Description

Uniform buffer object holding camera view-projection matrix.

Used to upload the camera's combined view and projection matrix to shaders.

Member Data Documentation

◆ CameraPosition

Crux::vec3 Raven::CameraData::CameraPosition

◆ Projection

Crux::mat4 Raven::CameraData::Projection

Projection matrix.

◆ View

Crux::mat4 Raven::CameraData::View

View matrix.

◆ ViewProjection

Crux::mat4 Raven::CameraData::ViewProjection

ViewProjection matrix combining camera view and projection.


The documentation for this struct was generated from the following file: