![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <scene_buffer.hpp>
Public Attributes | |
| 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 = {} |
A struct of spotlight buffers used by shaders.
| F32 mage::rendering::SpotLightBuffer::m_cos_inv_range = {} |
The inverse of the cosine range of the spotlight of this spotlight buffer.
| F32 mage::rendering::SpotLightBuffer::m_cos_umbra = {} |
The cosine of the umbra angle of the spotlight of this spotlight buffer.
| RGB mage::rendering::SpotLightBuffer::m_I |
The radiant intensity in watts per steradians of the spotlight of this spotlight buffer.
| Direction3 mage::rendering::SpotLightBuffer::m_neg_d_world |
The (normalized) negated direction of the directional light expressed in world space of this directional light buffer.