![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <scene_buffer.hpp>
Public Attributes | |
U32 | m_nb_directional_lights = {} |
U32 | m_nb_omni_lights = {} |
U32 | m_nb_spot_lights = {} |
U32 | m_padding0 = {} |
U32 | m_nb_sm_directional_lights = {} |
U32 | m_nb_sm_omni_lights = {} |
U32 | m_nb_sm_spot_lights = {} |
U32 | m_padding1 = {} |
RGB | m_La |
F32 | m_padding2 = {} |
A struct of light buffers used by shaders.
RGB mage::rendering::LightBuffer::m_La |
The ambient radiance in watts per square meter per steradians of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_directional_lights = {} |
The number of directional lights of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_omni_lights = {} |
The number of omni lights of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_sm_directional_lights = {} |
The number of shadow mapped directional lights of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_sm_omni_lights = {} |
The number of shadow mapped omni lights of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_sm_spot_lights = {} |
The number of shadow mapped spotlights of this light buffer.
U32 mage::rendering::LightBuffer::m_nb_spot_lights = {} |
The number of spotlights of this light buffer.
U32 mage::rendering::LightBuffer::m_padding0 = {} |
The padding of this light buffer.
U32 mage::rendering::LightBuffer::m_padding1 = {} |
The padding of this light buffer.
F32 mage::rendering::LightBuffer::m_padding2 = {} |
The padding of this light buffer.