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

#include <GlslOutputComponents.hpp>

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

Public Member Functions

 IndirectLighting (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
 IndirectLighting (sdw::ShaderWriter &writer)
 
auto ambient () const
 
auto rawDiffuse () const
 
auto specular () const
 
auto occlusion () const
 
auto diffuseColour () const
 
auto diffuseBlend () const
 

Constructor & Destructor Documentation

◆ IndirectLighting() [1/2]

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

◆ IndirectLighting() [2/2]

castor3d::shader::IndirectLighting::IndirectLighting ( sdw::ShaderWriter & writer)
inlineexplicit

Member Function Documentation

◆ ambient()

auto castor3d::shader::IndirectLighting::ambient ( ) const
inline

◆ diffuseBlend()

auto castor3d::shader::IndirectLighting::diffuseBlend ( ) const
inline

References rawDiffuse().

Here is the call graph for this function:

◆ diffuseColour()

auto castor3d::shader::IndirectLighting::diffuseColour ( ) const
inline

References rawDiffuse().

Here is the call graph for this function:

◆ occlusion()

auto castor3d::shader::IndirectLighting::occlusion ( ) const
inline

◆ rawDiffuse()

auto castor3d::shader::IndirectLighting::rawDiffuse ( ) const
inline

Referenced by diffuseBlend(), and diffuseColour().

Here is the caller graph for this function:

◆ specular()

auto castor3d::shader::IndirectLighting::specular ( ) const
inline

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