Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
castor3d::shader::SssProfile Struct Reference

#include <GlslMaterial.hpp>

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

Public Member Functions

C3D_API SssProfile (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 SDW_DeclStructInstance (C3D_API, SssProfile)
 

Static Public Member Functions

static C3D_API ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache)
 

Public Attributes

sdw::Array< sdw::Vec4 > transmittanceProfile
 
sdw::Int transmittanceProfileSize
 
sdw::Float gaussianWidth
 
sdw::Float subsurfaceScatteringStrength
 

Friends

class SssProfiles
 

Constructor & Destructor Documentation

◆ SssProfile()

C3D_API castor3d::shader::SssProfile::SssProfile ( sdw::ShaderWriter &  writer,
ast::expr::ExprPtr  expr,
bool  enabled 
)

Member Function Documentation

◆ makeType()

static C3D_API ast::type::BaseStructPtr castor3d::shader::SssProfile::makeType ( ast::type::TypesCache &  cache)
static

◆ SDW_DeclStructInstance()

castor3d::shader::SssProfile::SDW_DeclStructInstance ( C3D_API  ,
SssProfile   
)

Friends And Related Function Documentation

◆ SssProfiles

friend class SssProfiles
friend

Member Data Documentation

◆ gaussianWidth

sdw::Float castor3d::shader::SssProfile::gaussianWidth

◆ subsurfaceScatteringStrength

sdw::Float castor3d::shader::SssProfile::subsurfaceScatteringStrength

◆ transmittanceProfile

sdw::Array< sdw::Vec4 > castor3d::shader::SssProfile::transmittanceProfile

◆ transmittanceProfileSize

sdw::Int castor3d::shader::SssProfile::transmittanceProfileSize

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