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

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

#include <GREM/graphics_3d/Camera3D.hpp>

Public Attributes

mat4 cameraProjectionMatrix
 Current projection matrix of the camera.
mat4 cameraViewMatrix
 Current view matrix of the camera.
mat4 cameraViewProjectionMatrix
 Current combined view-projection matrix of the camera.
vec2 cameraNearAndFarPlaneDistances
 Current near (X) and far (Y) plane distances of the camera.
vec3 cameraPosition
 Current position of the camera in world space.
mat3 cameraBasis
 Current right, up and backward direction vectors (local X, Y and Z axes) of the camera in world space.
float cameraExposure
 Current exposure parameter of the camera.

Detailed Description

Struct of shader parameters representing the state of a Camera3D.

Member Data Documentation

◆ cameraProjectionMatrix

mat4 grem::graphics::Camera3D::Parameters::cameraProjectionMatrix

Current projection matrix of the camera.

◆ cameraViewMatrix

mat4 grem::graphics::Camera3D::Parameters::cameraViewMatrix

Current view matrix of the camera.

◆ cameraViewProjectionMatrix

mat4 grem::graphics::Camera3D::Parameters::cameraViewProjectionMatrix

Current combined view-projection matrix of the camera.

◆ cameraNearAndFarPlaneDistances

vec2 grem::graphics::Camera3D::Parameters::cameraNearAndFarPlaneDistances

Current near (X) and far (Y) plane distances of the camera.

◆ cameraPosition

vec3 grem::graphics::Camera3D::Parameters::cameraPosition

Current position of the camera in world space.

◆ cameraBasis

mat3 grem::graphics::Camera3D::Parameters::cameraBasis

Current right, up and backward direction vectors (local X, Y and Z axes) of the camera in world space.

◆ cameraExposure

float grem::graphics::Camera3D::Parameters::cameraExposure

Current exposure parameter of the camera.


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