Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Protected Attributes | List of all members
castor3d::shader::Fog Class Reference

#include <GlslFog.hpp>

Public Member Functions

C3D_API Fog (sdw::ShaderWriter &writer)
 
C3D_API sdw::Vec4 apply (sdw::Vec4 const &bgColour, sdw::Vec4 const &colour, sdw::Vec3 const &wsPosition, sdw::Vec3 const &wsCamera, SceneData const &sceneData) const
 

Protected Attributes

sdw::Function< sdw::Vec4, sdw::InVec4, sdw::InVec4, sdw::InVec3, sdw::InVec3, InSceneData > m_fog
 

Constructor & Destructor Documentation

◆ Fog()

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

Member Function Documentation

◆ apply()

C3D_API sdw::Vec4 castor3d::shader::Fog::apply ( sdw::Vec4 const & bgColour,
sdw::Vec4 const & colour,
sdw::Vec3 const & wsPosition,
sdw::Vec3 const & wsCamera,
SceneData const & sceneData ) const

Member Data Documentation

◆ m_fog

sdw::Function< sdw::Vec4 , sdw::InVec4 , sdw::InVec4 , sdw::InVec3 , sdw::InVec3 , InSceneData > castor3d::shader::Fog::m_fog
protected

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