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

#include <GlslLight.hpp>

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

Public Member Functions

 DirectionalLight (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
auto base () const
 
auto colour () const
 
auto intensity () const
 
auto shadowMapIndex () const
 
auto cascadeCount () const
 
auto direction () const
 

Constructor & Destructor Documentation

◆ DirectionalLight()

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

Member Function Documentation

◆ base()

auto castor3d::shader::DirectionalLight::base ( ) const
inline

Referenced by cascadeCount(), colour(), direction(), intensity(), and shadowMapIndex().

Here is the caller graph for this function:

◆ cascadeCount()

auto castor3d::shader::DirectionalLight::cascadeCount ( ) const
inline

References base().

Here is the call graph for this function:

◆ colour()

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

References base().

Here is the call graph for this function:

◆ direction()

auto castor3d::shader::DirectionalLight::direction ( ) const
inline

References base().

Here is the call graph for this function:

◆ intensity()

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

References base().

Here is the call graph for this function:

◆ shadowMapIndex()

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

References base().

Here is the call graph for this function:

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