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

#include <ShadowMapUbo.hpp>

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

Public Member Functions

C3D_API ShadowMapData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
C3D_API sdw::Vec4 worldToView (sdw::Vec4 const &pos) const
 
C3D_API sdw::Vec4 viewToProj (sdw::Vec4 const &pos) const
 
C3D_API sdw::Float getNormalisedDepth (sdw::Vec3 const &pos) const
 
C3D_API DirectionalLight getDirectionalLight (Lights &lights) const
 
C3D_API PointLight getPointLight (Lights &lights) const
 
C3D_API SpotLight getSpotLight (Lights &lights) const
 

Constructor & Destructor Documentation

◆ ShadowMapData()

C3D_API castor3d::shader::ShadowMapData::ShadowMapData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )
inline

Member Function Documentation

◆ getDirectionalLight()

C3D_API DirectionalLight castor3d::shader::ShadowMapData::getDirectionalLight ( Lights & lights) const

◆ getNormalisedDepth()

C3D_API sdw::Float castor3d::shader::ShadowMapData::getNormalisedDepth ( sdw::Vec3 const & pos) const

◆ getPointLight()

C3D_API PointLight castor3d::shader::ShadowMapData::getPointLight ( Lights & lights) const

◆ getSpotLight()

C3D_API SpotLight castor3d::shader::ShadowMapData::getSpotLight ( Lights & lights) const

◆ viewToProj()

C3D_API sdw::Vec4 castor3d::shader::ShadowMapData::viewToProj ( sdw::Vec4 const & pos) const

◆ worldToView()

C3D_API sdw::Vec4 castor3d::shader::ShadowMapData::worldToView ( sdw::Vec4 const & pos) const

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