Castor3D 0.17.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | 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

C3D_API IndirectLighting (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
C3D_API IndirectLighting (sdw::ShaderWriter &writer)
 
C3D_API void registerDebug (DebugOutputCategory const &debugOutput) const
 

Public Attributes

sdw::Vec3 ambient
 
sdw::Vec4 rawDiffuse
 
sdw::Vec3 specular
 
sdw::Float occlusion
 
sdw::Vec3 diffuseColour
 
sdw::Float diffuseBlend
 

Constructor & Destructor Documentation

◆ IndirectLighting() [1/2]

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

◆ IndirectLighting() [2/2]

C3D_API castor3d::shader::IndirectLighting::IndirectLighting ( sdw::ShaderWriter & writer)
explicit

Member Function Documentation

◆ registerDebug()

C3D_API void castor3d::shader::IndirectLighting::registerDebug ( DebugOutputCategory const & debugOutput) const

Member Data Documentation

◆ ambient

sdw::Vec3 castor3d::shader::IndirectLighting::ambient

◆ diffuseBlend

sdw::Float castor3d::shader::IndirectLighting::diffuseBlend

◆ diffuseColour

sdw::Vec3 castor3d::shader::IndirectLighting::diffuseColour

◆ occlusion

sdw::Float castor3d::shader::IndirectLighting::occlusion

◆ rawDiffuse

sdw::Vec4 castor3d::shader::IndirectLighting::rawDiffuse

◆ specular

sdw::Vec3 castor3d::shader::IndirectLighting::specular

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