Castor3D 0.17.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
castor3d::shader::PhongClearcoatBRDF Class Reference

#include <GlslPhongBRDF.hpp>

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

Public Member Functions

 PhongClearcoatBRDF (sdw::ShaderWriter &writer, c3d::BRDFHelpers &brdfHelpers)
 
- Public Member Functions inherited from castor3d::shader::ClearcoatBRDF
C3D_API ClearcoatBRDF (sdw::ShaderWriter &writer, BRDFHelpers &brdfHelpers)
 
virtual C3D_API ~ClearcoatBRDF ()=default
 
C3D_API sdw::RetVec3 compute (BlendComponents const &components, sdw::Vec3 const &N, sdw::Vec3 const &L, sdw::Vec3 const &H, sdw::Vec3 const &V, sdw::Float const &NdotL, sdw::Float const &NdotH)
 

Static Public Member Functions

static c3d::ClearcoatBRDFPtr create (sdw::ShaderWriter &writer, c3d::BRDFHelpers &brdfHelpers)
 
- Static Public Member Functions inherited from castor3d::shader::ClearcoatBRDF
static C3D_API ClearcoatBRDFPtr create (sdw::ShaderWriter &writer, BRDFHelpers &brdfHelpers)
 

Static Public Attributes

static castor::StringView constexpr Name { cuT( "phong" ) }
 
- Static Public Attributes inherited from castor3d::shader::ClearcoatBRDF
static C3D_API castor::StringView constexpr Name { cuT( "default" ) }
 

Additional Inherited Members

- Protected Attributes inherited from castor3d::shader::ClearcoatBRDF
sdw::ShaderWriter & m_writer
 
BRDFHelpersm_brdfHelpers
 
sdw::Function< sdw::Vec3, InBlendComponents, sdw::InVec3, sdw::InVec3, sdw::InVec3, sdw::InVec3, sdw::InFloat, sdw::InFloat > m_compute
 

Constructor & Destructor Documentation

◆ PhongClearcoatBRDF()

castor3d::shader::PhongClearcoatBRDF::PhongClearcoatBRDF ( sdw::ShaderWriter & writer,
c3d::BRDFHelpers & brdfHelpers )

Member Function Documentation

◆ create()

static c3d::ClearcoatBRDFPtr castor3d::shader::PhongClearcoatBRDF::create ( sdw::ShaderWriter & writer,
c3d::BRDFHelpers & brdfHelpers )
static

Member Data Documentation

◆ Name

castor::StringView constexpr castor3d::shader::PhongClearcoatBRDF::Name { cuT( "phong" ) }
staticconstexpr

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