![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <scene_buffer.hpp>
Public Attributes | |
RGB | m_E_ortho |
U32 | m_padding0 = {} |
Direction3 | m_neg_d_world |
U32 | m_padding1 = {} |
XMMATRIX | m_world_to_projection = {} |
A struct of directional light buffers used by shaders.
RGB mage::rendering::DirectionalLightBuffer::m_E_ortho |
The (orthogonal) irradiance of the directional light of this directional light buffer.
Direction3 mage::rendering::DirectionalLightBuffer::m_neg_d_world |
The (normalized) negated direction of the directional light expressed in world space of this directional light buffer.
U32 mage::rendering::DirectionalLightBuffer::m_padding0 = {} |
The padding of this directional light buffer.
U32 mage::rendering::DirectionalLightBuffer::m_padding1 = {} |
The padding of this directional light buffer.
XMMATRIX mage::rendering::DirectionalLightBuffer::m_world_to_projection = {} |
The (column-major packed, row-major matrix) world-to-projection matrix of this directional light buffer.