Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Friends | List of all members
castor3d::shader::Light Struct Reference

#include <GlslLight.hpp>

Inheritance diagram for castor3d::shader::Light:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::Light:
Collaboration graph
[legend]

Public Member Functions

 Light (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
auto colour () const
 
auto intensity () const
 
auto range () const
 
auto shadowMapIndex () const
 

Friends

class LightsBuffer
 
struct DirectionalLight
 
struct PointLight
 
struct SpotLight
 

Constructor & Destructor Documentation

◆ Light()

castor3d::shader::Light::Light ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

Member Function Documentation

◆ colour()

auto castor3d::shader::Light::colour ( ) const
inline

◆ intensity()

auto castor3d::shader::Light::intensity ( ) const
inline

◆ range()

auto castor3d::shader::Light::range ( ) const
inline

◆ shadowMapIndex()

auto castor3d::shader::Light::shadowMapIndex ( ) const
inline

Friends And Related Symbol Documentation

◆ DirectionalLight

friend struct DirectionalLight
friend

◆ LightsBuffer

friend class LightsBuffer
friend

◆ PointLight

friend struct PointLight
friend

◆ SpotLight

friend struct SpotLight
friend

The documentation for this struct was generated from the following file: