#include <GlslFog.hpp>
|
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 |
|
|
sdw::Function< sdw::Vec4, sdw::InVec4, sdw::InVec4, sdw::InVec3, sdw::InVec3, InSceneData > | m_fog |
|
◆ Fog()
C3D_API castor3d::shader::Fog::Fog |
( |
sdw::ShaderWriter & | writer | ) |
|
|
explicit |
◆ 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 |
◆ 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: