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

#include <GlslCookTorranceBRDF.hpp>

Fonctions membres publiques

C3D_API CookTorranceBRDF (sdw::ShaderWriter &writer, Utils &utils)
 
C3D_API sdw::RetVec3 compute (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &roughness, Surface surface, OutputComponents &output)
 
C3D_API void computeAON (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &roughness, sdw::Float const &smoothBand, Surface surface, OutputComponents &output)
 
C3D_API sdw::Vec3 computeDiffuse (sdw::Vec3 const &colour, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, Surface surface)
 
C3D_API sdw::Vec3 computeDiffuse (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, Surface surface)
 
C3D_API sdw::Vec3 computeDiffuseAON (sdw::Vec3 const &colour, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &smoothBand, Surface surface)
 
C3D_API sdw::Vec3 computeDiffuseAON (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &metalness, sdw::Float const &smoothBand, Surface surface)
 

Documentation des constructeurs et destructeur

◆ CookTorranceBRDF()

C3D_API castor3d::shader::CookTorranceBRDF::CookTorranceBRDF ( sdw::ShaderWriter &  writer,
Utils utils 
)
explicit

Documentation des fonctions membres

◆ compute()

C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::compute ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
sdw::Float const &  roughness,
Surface  surface,
OutputComponents output 
)

◆ computeAON()

C3D_API void castor3d::shader::CookTorranceBRDF::computeAON ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
sdw::Float const &  roughness,
sdw::Float const &  smoothBand,
Surface  surface,
OutputComponents output 
)

◆ computeDiffuse() [1/2]

C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuse ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
Surface  surface 
)

◆ computeDiffuse() [2/2]

C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuse ( sdw::Vec3 const &  colour,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
Surface  surface 
)

◆ computeDiffuseAON() [1/2]

C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuseAON ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
sdw::Float const &  smoothBand,
Surface  surface 
)

◆ computeDiffuseAON() [2/2]

C3D_API sdw::Vec3 castor3d::shader::CookTorranceBRDF::computeDiffuseAON ( sdw::Vec3 const &  colour,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  metalness,
sdw::Float const &  smoothBand,
Surface  surface 
)

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