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

#include <scene_buffer.hpp>

Inheritance diagram for mage::rendering::ShadowMappedOmniLightBuffer:
mage::rendering::OmniLightBuffer mage::rendering::PointLightBuffer

Public Attributes

XMMATRIX m_world_to_light = {}
 
F32x2 m_projection_values
 
U32x2 m_padding1
 
- Public Attributes inherited from mage::rendering::OmniLightBuffer
RGB m_I
 
U32 m_padding0 = {}
 
- Public Attributes inherited from mage::rendering::PointLightBuffer
Point3 m_p_world
 
F32 m_inv_sqr_range = {}
 

Detailed Description

A struct of shadow mapped omni light buffers used by shaders.

Member Data Documentation

◆ m_padding1

U32x2 mage::rendering::ShadowMappedOmniLightBuffer::m_padding1

The padding of this shadow mapped omni light buffer.

◆ m_projection_values

F32x2 mage::rendering::ShadowMappedOmniLightBuffer::m_projection_values

The projection values of the light-to-projection transformation matrix of the shadow mapped omni light of this shadow mapped omni light buffer.

◆ m_world_to_light

XMMATRIX mage::rendering::ShadowMappedOmniLightBuffer::m_world_to_light = {}

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