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

#include <scene_buffer.hpp>

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

Public Attributes

Point3 m_p_world
 
F32 m_inv_sqr_range = {}
 

Detailed Description

A struct of point light buffers used by shaders.

Member Data Documentation

◆ m_inv_sqr_range

F32 mage::rendering::PointLightBuffer::m_inv_sqr_range = {}

The inverse of the squared range of the point light of this point light buffer expressed in inversed squared world space.

◆ m_p_world

Point3 mage::rendering::PointLightBuffer::m_p_world

The position of the point light of this point light buffer expressed in world space.