Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces
LightModule.hpp File Reference

Classes

struct  castor3d::ObjectCacheTraitsT< Light, castor::String >
 
struct  castor3d::BaseShadowData
 
struct  castor3d::DirectionalShadowData
 
struct  castor3d::SpotShadowData
 
struct  castor3d::AllShadowData
 

Namespaces

namespace  castor3d
 

Light

enum class  castor3d::LightType : uint8_t {
  castor3d::eDirectional = 0 , castor3d::ePoint = 1 , castor3d::eSpot = 2 , castor3d::eCount ,
  castor3d::eMin = eDirectional
}
 Light types enumeration. More...
 
using castor3d::LightingModelID = uint8_t
 
using castor3d::LightsMap = castor::Array< LightsArray, size_t( LightType::eCount ) >
 Array of lights per light type.
 
using castor3d::OnLightChangedFunction = castor::Function< void( Light & ) >
 
using castor3d::OnLightChanged = castor::SignalT< OnLightChangedFunction >
 
using castor3d::OnLightChangedConnection = OnLightChanged::connection
 
using castor3d::LightCache
 
using castor3d::LightRes = CameraCacheTraits::ElementPtrT
 
using castor3d::LightResPtr = CameraCacheTraits::ElementObsT
 
using castor3d::PointShadowData = BaseShadowData
 
C3D_API castor::String castor3d::getName (LightType value)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Light, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, LightFactory, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, LightCategory, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, LightImporter, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, DirectionalLight, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, PointLight, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, SpotLight, C3D_API)
 
 castor3d::CU_DeclareVector (LightRPtr, Lights)
 Array of lights.
 
 castor3d::CU_DeclareVector (LightRPtr, LightsRef)
 Array to non owning light pointers.
 
 castor3d::CU_DeclareSmartPtr (castor3d, LightCache, C3D_API)
 
C3D_API float castor3d::getMaxDistance (LightCategory const &light, castor::Point3f const &attenuation)
 Retrieve the maximum lit distance for given light and attenuation.
 
C3D_API float castor3d::getMaxDistance (LightCategory const &light, castor::Point3f const &attenuation, float max)
 Retrieve the maximum lit distance for given light and attenuation.
 
C3D_API float castor3d::computeRange (castor::Point2f const &intensity, float range)