GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::Camera2D::Parameters Struct Reference

Struct of shader parameters representing the state of a Camera2D. More...

#include <GREM/graphics_2d/Camera2D.hpp>

Public Attributes

mat3 cameraProjectionMatrix
 Current projection matrix of the camera.
mat3 cameraViewMatrix
 Current view matrix of the camera.
mat3 cameraViewProjectionMatrix
 Current combined view-projection matrix of the camera.
vec2 cameraPosition
 Current position of the camera in world space.
mat2 cameraBasis
 Current right and up direction vectors (local X and Y axes) of the camera.

Detailed Description

Struct of shader parameters representing the state of a Camera2D.

Member Data Documentation

◆ cameraProjectionMatrix

mat3 grem::graphics::Camera2D::Parameters::cameraProjectionMatrix

Current projection matrix of the camera.

◆ cameraViewMatrix

mat3 grem::graphics::Camera2D::Parameters::cameraViewMatrix

Current view matrix of the camera.

◆ cameraViewProjectionMatrix

mat3 grem::graphics::Camera2D::Parameters::cameraViewProjectionMatrix

Current combined view-projection matrix of the camera.

◆ cameraPosition

vec2 grem::graphics::Camera2D::Parameters::cameraPosition

Current position of the camera in world space.

◆ cameraBasis

mat2 grem::graphics::Camera2D::Parameters::cameraBasis

Current right and up direction vectors (local X and Y axes) of the camera.


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