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

#include <GlslBRDFHelpers.hpp>

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

Public Member Functions

 MicrofacetDistributionSample (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled=true)
 
auto pdf () const
 
auto cosTheta () const
 
auto sinTheta () const
 
auto phi () const
 

Constructor & Destructor Documentation

◆ MicrofacetDistributionSample()

castor3d::shader::MicrofacetDistributionSample::MicrofacetDistributionSample ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled = true )
inline

Member Function Documentation

◆ cosTheta()

auto castor3d::shader::MicrofacetDistributionSample::cosTheta ( ) const
inline

◆ pdf()

auto castor3d::shader::MicrofacetDistributionSample::pdf ( ) const
inline

◆ phi()

auto castor3d::shader::MicrofacetDistributionSample::phi ( ) const
inline

◆ sinTheta()

auto castor3d::shader::MicrofacetDistributionSample::sinTheta ( ) const
inline

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