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

#include <GlslOutputComponents.hpp>

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

Public Member Functions

 DirectLighting (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
 DirectLighting (sdw::ShaderWriter &writer)
 
auto ambient () const
 
auto diffuse () const
 
auto specular () const
 
auto scattering () const
 
auto coatingSpecular () const
 
auto sheen () const
 

Constructor & Destructor Documentation

◆ DirectLighting() [1/2]

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

◆ DirectLighting() [2/2]

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

Member Function Documentation

◆ ambient()

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

◆ coatingSpecular()

auto castor3d::shader::DirectLighting::coatingSpecular ( ) const
inline

◆ diffuse()

auto castor3d::shader::DirectLighting::diffuse ( ) const
inline

◆ scattering()

auto castor3d::shader::DirectLighting::scattering ( ) const
inline

◆ sheen()

auto castor3d::shader::DirectLighting::sheen ( ) const
inline

◆ specular()

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

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