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

#include <scene_buffer.hpp>

Inheritance diagram for mage::rendering::ShadowMappedSpotLightBuffer:
mage::rendering::SpotLightBuffer mage::rendering::PointLightBuffer

Public Attributes

XMMATRIX m_world_to_projection = {}
 
- Public Attributes inherited from mage::rendering::SpotLightBuffer
RGB m_I
 
F32 m_cos_umbra = {}
 
Direction3 m_neg_d_world
 
F32 m_cos_inv_range = {}
 
- Public Attributes inherited from mage::rendering::PointLightBuffer
Point3 m_p_world
 
F32 m_inv_sqr_range = {}
 

Detailed Description

A struct of shadow mapped spotlight buffers used by shaders.

Member Data Documentation

◆ m_world_to_projection

XMMATRIX mage::rendering::ShadowMappedSpotLightBuffer::m_world_to_projection = {}

The (column-major packed, row-major matrix) world-to-projection matrix of the shadow mapped spotlight of this shadow mapped spotlight buffer.