#include <GlslBlendComponents.hpp>
|
| BlendComponents (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled) |
|
| BlendComponents (Materials const &materials, Material const &material, SurfaceBase const &surface) |
|
| BlendComponents (Materials const &materials, Material const &material, DerivSurfaceBase const &surface) |
|
| BlendComponents (Materials const &materials, Material const &material, SurfaceBase const &surface, sdw::Vec4 const &clrCot) |
|
| BlendComponents (Materials const &materials, Material const &material, DerivSurfaceBase const &surface, sdw::Vec4 const &clrCot) |
|
| BlendComponents (Materials const &materials, bool zeroInit=false) |
|
| SDW_DeclStructInstance (, BlendComponents) |
|
void | finish (PassShaders const &passShaders, DerivSurfaceBase const &surface, CameraData const &camera, ModelData const &model, Utils &utils) |
|
void | registerDebug (DebugOutputCategory const &debugOutput) const |
|
void | setNormal (sdw::Vec3 const v) |
|
void | normalizeNormal () |
|
sdw::Vec3 | getRawNormal () const |
|
sdw::Vec4 | getRawTangent () const |
|
sdw::Vec3 | getRawBitangent () const |
|
shader::DerivVec3 | getDerivNormal () const |
|
shader::DerivVec4 | getDerivTangent () const |
|
shader::DerivVec3 | getDerivBitangent () const |
|
bool | usesDerivativeValues () const noexcept |
|
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache, Materials const &materials, bool zeroInit, sdw::expr::ExprList &inits) |
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache, Materials const &materials, Material const &material, sdw::StructInstance const &surface, sdw::Vec4 const *clrCot, sdw::expr::ExprList &inits) |
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache, BlendComponents const &rhs) |
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache, Materials const &materials, bool zeroInit=false) |
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache, Materials const &materials, Material const &material, sdw::StructInstance const &surface, sdw::Vec4 const *clrCot) |
|
static sdw::Float | computeRoughnessFromGlossiness (sdw::Float const &glossiness) |
|
static sdw::Float | computeGlossinessFromRoughness (sdw::Float const &roughness) |
|
static sdw::Float | computeGlossinessFromShininess (sdw::Float const &shininess) |
|
static sdw::Float | computeShininessFromGlossiness (sdw::Float const &glossiness) |
|
static sdw::Float | computeRoughnessFromShininess (sdw::Float const &shininess) |
|
static sdw::Float | computeShininessFromRoughness (sdw::Float const &roughness) |
|
|
static void | fillType (ast::type::BaseStruct &type, Materials const &materials, sdw::expr::ExprList &inits) |
|
static void | fillType (ast::type::BaseStruct &type, Materials const &materials, Material const &material, sdw::StructInstance const &surface, sdw::Vec4 const *clrCot, sdw::expr::ExprList &inits) |
|
static void | fillInit (sdw::type::BaseStruct const &components, Materials const &materials, sdw::expr::ExprList &inits) |
|
static void | fillInit (sdw::type::BaseStruct const &components, Materials const &materials, Material const &material, sdw::StructInstance const &surface, sdw::Vec4 const *clrCot, sdw::expr::ExprList &inits) |
|
static sdw::expr::ExprPtr | makeInit (Materials const &materials, bool zeroInit) |
|
static sdw::expr::ExprPtr | makeInit (Materials const &materials, Material const &material, sdw::StructInstance const &surface, sdw::Vec4 const *clrCot) |
|
◆ BlendComponents() [1/6]
castor3d::shader::BlendComponents::BlendComponents |
( |
sdw::ShaderWriter & | writer, |
|
|
sdw::expr::ExprPtr | expr, |
|
|
bool | enabled ) |
◆ BlendComponents() [2/6]
◆ BlendComponents() [3/6]
◆ BlendComponents() [4/6]
castor3d::shader::BlendComponents::BlendComponents |
( |
Materials const & | materials, |
|
|
Material const & | material, |
|
|
SurfaceBase const & | surface, |
|
|
sdw::Vec4 const & | clrCot ) |
◆ BlendComponents() [5/6]
castor3d::shader::BlendComponents::BlendComponents |
( |
Materials const & | materials, |
|
|
Material const & | material, |
|
|
DerivSurfaceBase const & | surface, |
|
|
sdw::Vec4 const & | clrCot ) |
◆ BlendComponents() [6/6]
castor3d::shader::BlendComponents::BlendComponents |
( |
Materials const & | materials, |
|
|
bool | zeroInit = false ) |
◆ computeGlossinessFromRoughness()
static sdw::Float castor3d::shader::BlendComponents::computeGlossinessFromRoughness |
( |
sdw::Float const & | roughness | ) |
|
|
static |
◆ computeGlossinessFromShininess()
static sdw::Float castor3d::shader::BlendComponents::computeGlossinessFromShininess |
( |
sdw::Float const & | shininess | ) |
|
|
static |
◆ computeRoughnessFromGlossiness()
static sdw::Float castor3d::shader::BlendComponents::computeRoughnessFromGlossiness |
( |
sdw::Float const & | glossiness | ) |
|
|
static |
◆ computeRoughnessFromShininess()
static sdw::Float castor3d::shader::BlendComponents::computeRoughnessFromShininess |
( |
sdw::Float const & | shininess | ) |
|
|
inlinestatic |
◆ computeShininessFromGlossiness()
static sdw::Float castor3d::shader::BlendComponents::computeShininessFromGlossiness |
( |
sdw::Float const & | glossiness | ) |
|
|
static |
◆ computeShininessFromRoughness()
static sdw::Float castor3d::shader::BlendComponents::computeShininessFromRoughness |
( |
sdw::Float const & | roughness | ) |
|
|
inlinestatic |
◆ fillInit() [1/2]
static void castor3d::shader::BlendComponents::fillInit |
( |
sdw::type::BaseStruct const & | components, |
|
|
Materials const & | materials, |
|
|
Material const & | material, |
|
|
sdw::StructInstance const & | surface, |
|
|
sdw::Vec4 const * | clrCot, |
|
|
sdw::expr::ExprList & | inits ) |
|
staticprotected |
◆ fillInit() [2/2]
static void castor3d::shader::BlendComponents::fillInit |
( |
sdw::type::BaseStruct const & | components, |
|
|
Materials const & | materials, |
|
|
sdw::expr::ExprList & | inits ) |
|
staticprotected |
◆ fillType() [1/2]
static void castor3d::shader::BlendComponents::fillType |
( |
ast::type::BaseStruct & | type, |
|
|
Materials const & | materials, |
|
|
Material const & | material, |
|
|
sdw::StructInstance const & | surface, |
|
|
sdw::Vec4 const * | clrCot, |
|
|
sdw::expr::ExprList & | inits ) |
|
staticprotected |
◆ fillType() [2/2]
static void castor3d::shader::BlendComponents::fillType |
( |
ast::type::BaseStruct & | type, |
|
|
Materials const & | materials, |
|
|
sdw::expr::ExprList & | inits ) |
|
staticprotected |
◆ finish()
◆ getDerivBitangent()
◆ getDerivNormal()
◆ getDerivTangent()
◆ getRawBitangent()
sdw::Vec3 castor3d::shader::BlendComponents::getRawBitangent |
( |
| ) |
const |
◆ getRawNormal()
sdw::Vec3 castor3d::shader::BlendComponents::getRawNormal |
( |
| ) |
const |
◆ getRawTangent()
sdw::Vec4 castor3d::shader::BlendComponents::getRawTangent |
( |
| ) |
const |
◆ makeInit() [1/2]
static sdw::expr::ExprPtr castor3d::shader::BlendComponents::makeInit |
( |
Materials const & | materials, |
|
|
bool | zeroInit ) |
|
staticprotected |
◆ makeInit() [2/2]
static sdw::expr::ExprPtr castor3d::shader::BlendComponents::makeInit |
( |
Materials const & | materials, |
|
|
Material const & | material, |
|
|
sdw::StructInstance const & | surface, |
|
|
sdw::Vec4 const * | clrCot ) |
|
staticprotected |
◆ makeType() [1/5]
static ast::type::BaseStructPtr castor3d::shader::BlendComponents::makeType |
( |
ast::type::TypesCache & | cache, |
|
|
BlendComponents const & | rhs ) |
|
static |
◆ makeType() [2/5]
static ast::type::BaseStructPtr castor3d::shader::BlendComponents::makeType |
( |
ast::type::TypesCache & | cache, |
|
|
Materials const & | materials, |
|
|
bool | zeroInit, |
|
|
sdw::expr::ExprList & | inits ) |
|
static |
◆ makeType() [3/5]
static ast::type::BaseStructPtr castor3d::shader::BlendComponents::makeType |
( |
ast::type::TypesCache & | cache, |
|
|
Materials const & | materials, |
|
|
bool | zeroInit = false ) |
|
inlinestatic |
◆ makeType() [4/5]
static ast::type::BaseStructPtr castor3d::shader::BlendComponents::makeType |
( |
ast::type::TypesCache & | cache, |
|
|
Materials const & | materials, |
|
|
Material const & | material, |
|
|
sdw::StructInstance const & | surface, |
|
|
sdw::Vec4 const * | clrCot ) |
|
inlinestatic |
◆ makeType() [5/5]
static ast::type::BaseStructPtr castor3d::shader::BlendComponents::makeType |
( |
ast::type::TypesCache & | cache, |
|
|
Materials const & | materials, |
|
|
Material const & | material, |
|
|
sdw::StructInstance const & | surface, |
|
|
sdw::Vec4 const * | clrCot, |
|
|
sdw::expr::ExprList & | inits ) |
|
static |
◆ normalizeNormal()
void castor3d::shader::BlendComponents::normalizeNormal |
( |
| ) |
|
◆ registerDebug()
void castor3d::shader::BlendComponents::registerDebug |
( |
DebugOutputCategory const & | debugOutput | ) |
const |
◆ SDW_DeclStructInstance()
castor3d::shader::BlendComponents::SDW_DeclStructInstance |
( |
BlendComponents | | ) |
|
◆ setNormal()
void castor3d::shader::BlendComponents::setNormal |
( |
sdw::Vec3 const | v | ) |
|
◆ usesDerivativeValues()
bool castor3d::shader::BlendComponents::usesDerivativeValues |
( |
| ) |
const |
|
inlinenoexcept |
◆ alphaRef
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::alphaRef |
◆ alphaRoughness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::alphaRoughness |
◆ attenuationColour
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::attenuationColour |
◆ attenuationDistance
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::attenuationDistance |
◆ baseColour
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::baseColour |
◆ bwAccumulationOperator
sdw::DefaultedT< sdw::UInt > castor3d::shader::BlendComponents::bwAccumulationOperator |
◆ clearcoatF0
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::clearcoatF0 |
◆ clearcoatF90
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::clearcoatF90 |
◆ clearcoatFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::clearcoatFactor |
◆ clearcoatNormal
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::clearcoatNormal |
◆ clearcoatRoughness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::clearcoatRoughness |
◆ dielectricF0
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::dielectricF0 |
◆ dielectricF90
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::dielectricF90 |
◆ diffuseTransmissionColour
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::diffuseTransmissionColour |
◆ diffuseTransmissionFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::diffuseTransmissionFactor |
◆ dispersion
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::dispersion |
◆ emissiveColour
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::emissiveColour |
◆ emissiveFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::emissiveFactor |
◆ f90
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::f90 |
◆ hasReflection
sdw::DefaultedT< sdw::UInt > castor3d::shader::BlendComponents::hasReflection |
◆ ior
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::ior |
◆ iridescenceFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::iridescenceFactor |
◆ iridescenceIor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::iridescenceIor |
◆ iridescenceThickness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::iridescenceThickness |
◆ metalness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::metalness |
◆ occlusion
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::occlusion |
◆ opacity
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::opacity |
◆ perceptualRoughness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::perceptualRoughness |
◆ sheenColour
sdw::DefaultedT< sdw::Vec3 > castor3d::shader::BlendComponents::sheenColour |
◆ sheenRoughness
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::sheenRoughness |
◆ specularWeight
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::specularWeight |
◆ thicknessFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::thicknessFactor |
◆ transmissionFactor
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::transmissionFactor |
◆ transmittance
sdw::DefaultedT< sdw::Float > castor3d::shader::BlendComponents::transmittance |
The documentation for this struct was generated from the following file: