Castor3D  0.11.0
Multiplatform 3D engine
Fonctions membres publiques | Attributs publics | Fonctions membres protégées | Liste de tous les membres
Référence de la classe castor3d::shader::CookTorranceBRDF

Fonctions membres publiques

C3D_API CookTorranceBRDF (sdw::ShaderWriter &writer)
 
C3D_API void declare ()
 
C3D_API void declareDiffuse ()
 
C3D_API void compute (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &albedo, sdw::Float const &metallic, sdw::Float const &roughness, Surface surface, OutputComponents &output)
 
C3D_API void compute (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, sdw::Float const &roughness, Surface surface, OutputComponents &output)
 
C3D_API sdw::Vec3 computeDiffuse (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &albedo, sdw::Float const &metallic, Surface surface)
 
C3D_API sdw::Vec3 computeDiffuse (Light const &light, sdw::Vec3 const &worldEye, sdw::Vec3 const &direction, sdw::Vec3 const &specular, Surface surface)
 

Attributs publics

sdw::ShaderWriter & m_writer
 
sdw::Function< sdw::Float, sdw::InFloat, sdw::InFloat > m_distributionGGX
 
sdw::Function< sdw::Float, sdw::InFloat, sdw::InFloat > m_geometrySchlickGGX
 
sdw::Function< sdw::Float, sdw::InFloat, sdw::InFloat, sdw::InFloat > m_geometrySmith
 
sdw::Function< sdw::Float, sdw::InVec3, sdw::InVec3, sdw::InVec3, sdw::InFloat > m_smith
 
sdw::Function< sdw::Vec3, sdw::InFloat, sdw::InVec3 > m_schlickFresnel
 
sdw::Function< sdw::Void, InLight, sdw::InVec3, sdw::InVec3, sdw::InVec3, sdw::InFloat, sdw::InFloat, InSurface, OutputComponents & > m_computeCookTorrance
 
sdw::Function< sdw::Vec3, InLight, sdw::InVec3, sdw::InVec3, sdw::InVec3, sdw::InFloat, InSurface > m_computeCookTorranceDiffuse
 

Fonctions membres protégées

void doDeclareDistribution ()
 
void doDeclareGeometry ()
 
void doDeclareFresnelShlick ()
 
void doDeclareComputeCookTorrance ()
 
void doDeclareComputeCookTorranceDiffuse ()
 

Documentation des constructeurs et destructeur

◆ CookTorranceBRDF()

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

Documentation des fonctions membres

◆ compute() [1/2]

C3D_API void castor3d::shader::CookTorranceBRDF::compute ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  albedo,
sdw::Float const &  metallic,
sdw::Float const &  roughness,
Surface  surface,
OutputComponents output 
)

◆ compute() [2/2]

C3D_API void castor3d::shader::CookTorranceBRDF::compute ( Light const &  light,
sdw::Vec3 const &  worldEye,
sdw::Vec3 const &  direction,
sdw::Vec3 const &  specular,
sdw::Float const &  roughness,
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 &  albedo,
sdw::Float const &  metallic,
Surface  surface 
)

◆ computeDiffuse() [2/2]

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

◆ declare()

C3D_API void castor3d::shader::CookTorranceBRDF::declare ( )

◆ declareDiffuse()

C3D_API void castor3d::shader::CookTorranceBRDF::declareDiffuse ( )

◆ doDeclareComputeCookTorrance()

void castor3d::shader::CookTorranceBRDF::doDeclareComputeCookTorrance ( )
protected

◆ doDeclareComputeCookTorranceDiffuse()

void castor3d::shader::CookTorranceBRDF::doDeclareComputeCookTorranceDiffuse ( )
protected

◆ doDeclareDistribution()

void castor3d::shader::CookTorranceBRDF::doDeclareDistribution ( )
protected

◆ doDeclareFresnelShlick()

void castor3d::shader::CookTorranceBRDF::doDeclareFresnelShlick ( )
protected

◆ doDeclareGeometry()

void castor3d::shader::CookTorranceBRDF::doDeclareGeometry ( )
protected

Documentation des données membres

◆ m_computeCookTorrance

sdw::Function< sdw::Void , InLight , sdw::InVec3 , sdw::InVec3 , sdw::InVec3 , sdw::InFloat , sdw::InFloat , InSurface , OutputComponents & > castor3d::shader::CookTorranceBRDF::m_computeCookTorrance

◆ m_computeCookTorranceDiffuse

sdw::Function< sdw::Vec3 , InLight , sdw::InVec3 , sdw::InVec3 , sdw::InVec3 , sdw::InFloat , InSurface > castor3d::shader::CookTorranceBRDF::m_computeCookTorranceDiffuse

◆ m_distributionGGX

sdw::Function< sdw::Float , sdw::InFloat , sdw::InFloat > castor3d::shader::CookTorranceBRDF::m_distributionGGX

◆ m_geometrySchlickGGX

sdw::Function< sdw::Float , sdw::InFloat , sdw::InFloat > castor3d::shader::CookTorranceBRDF::m_geometrySchlickGGX

◆ m_geometrySmith

sdw::Function< sdw::Float , sdw::InFloat , sdw::InFloat , sdw::InFloat > castor3d::shader::CookTorranceBRDF::m_geometrySmith

◆ m_schlickFresnel

sdw::Function< sdw::Vec3 , sdw::InFloat , sdw::InVec3 > castor3d::shader::CookTorranceBRDF::m_schlickFresnel

◆ m_smith

sdw::Function< sdw::Float , sdw::InVec3 , sdw::InVec3 , sdw::InVec3 , sdw::InFloat > castor3d::shader::CookTorranceBRDF::m_smith

◆ m_writer

sdw::ShaderWriter& castor3d::shader::CookTorranceBRDF::m_writer

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