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

#include <GlslClusteredLights.hpp>

Public Member Functions

C3D_API ClusteredLights (sdw::ShaderWriter &writer, uint32_t &binding, uint32_t set, ClustersConfig const *config, bool enabled)
 
 ClusteredLights (sdw::ShaderWriter &writer, uint32_t &binding, uint32_t set, ClustersConfig const *config)
 
C3D_API void computeCombinedDifSpec (Lights &lights, LightingModel &lightingModel, BlendComponents const &components, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, DebugOutput &debugOutput, DirectLighting &output)
 
C3D_API void computeCombinedAllButDif (Lights &lights, LightingModel &lightingModel, BlendComponents const &components, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, DebugOutput &debugOutput, DirectLighting &output)
 
C3D_API void computeCombinedDif (Lights &lights, LightingModel &lightingModel, BlendComponents const &components, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, DebugOutput &debugOutput, sdw::Vec3 &output)
 
bool isEnabled () const noexcept
 

Constructor & Destructor Documentation

◆ ClusteredLights() [1/2]

C3D_API castor3d::shader::ClusteredLights::ClusteredLights ( sdw::ShaderWriter & writer,
uint32_t & binding,
uint32_t set,
ClustersConfig const * config,
bool enabled )

◆ ClusteredLights() [2/2]

castor3d::shader::ClusteredLights::ClusteredLights ( sdw::ShaderWriter & writer,
uint32_t & binding,
uint32_t set,
ClustersConfig const * config )
inline

Member Function Documentation

◆ computeCombinedAllButDif()

C3D_API void castor3d::shader::ClusteredLights::computeCombinedAllButDif ( Lights & lights,
LightingModel & lightingModel,
BlendComponents const & components,
LightSurface const & lightSurface,
sdw::UInt const receivesShadows,
sdw::Vec2 const screenPosition,
sdw::Float const viewDepth,
DebugOutput & debugOutput,
DirectLighting & output )

◆ computeCombinedDif()

C3D_API void castor3d::shader::ClusteredLights::computeCombinedDif ( Lights & lights,
LightingModel & lightingModel,
BlendComponents const & components,
LightSurface const & lightSurface,
sdw::UInt const receivesShadows,
sdw::Vec2 const screenPosition,
sdw::Float const viewDepth,
DebugOutput & debugOutput,
sdw::Vec3 & output )

◆ computeCombinedDifSpec()

C3D_API void castor3d::shader::ClusteredLights::computeCombinedDifSpec ( Lights & lights,
LightingModel & lightingModel,
BlendComponents const & components,
LightSurface const & lightSurface,
sdw::UInt const receivesShadows,
sdw::Vec2 const screenPosition,
sdw::Float const viewDepth,
DebugOutput & debugOutput,
DirectLighting & output )

◆ isEnabled()

bool castor3d::shader::ClusteredLights::isEnabled ( ) const
inlinenoexcept

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