MAGE  v0.171.0
Matthias Advanced Game Engine
mage::rendering::SecondaryCameraBuffer Struct Reference

#include <scene_buffer.hpp>

Public Attributes

XMMATRIX m_world_to_camera = {}
 
XMMATRIX m_camera_to_projection = {}
 

Detailed Description

A struct of secondary camera buffers.

Member Data Documentation

◆ m_camera_to_projection

XMMATRIX mage::rendering::SecondaryCameraBuffer::m_camera_to_projection = {}

The (column-major packed, row-major matrix) camera-to-projection matrix of the camera of this secondary camera buffer.

◆ m_world_to_camera

XMMATRIX mage::rendering::SecondaryCameraBuffer::m_world_to_camera = {}

The (column-major packed, row-major matrix) world-to-camera matrix of the camera of this secondary camera buffer.