Castor3D 0.16.0
Multiplatform 3D engine
Fonctions membres publiques | Liste de tous les membres
Référence de la classe castor3d::shader::ClusteredLights

#include <GlslClusteredLights.hpp>

Fonctions membres publiques

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
 

Documentation des constructeurs et destructeur

◆ 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

Documentation des fonctions membres

◆ 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

La documentation de cette classe a été générée à partir du fichier suivant :