Castor3D  0.11.0
Multiplatform 3D engine
Fonctions membres publiques | Fonctions membres publiques statiques | Attributs publics | Amis | Liste de tous les membres
Référence de la structure castor3d::shader::TextureConfigData
Graphe d'héritage de castor3d::shader::TextureConfigData:
Inheritance graph
[légende]
Graphe de collaboration de castor3d::shader::TextureConfigData:
Collaboration graph
[légende]

Fonctions membres publiques

C3D_API TextureConfigData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
C3D_API sdw::Vec3 getDiffuse (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Vec3 const &diffuse, sdw::Float gamma) const
 
C3D_API sdw::Vec3 getAlbedo (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Vec3 const &diffuse, sdw::Float gamma) const
 
C3D_API sdw::Vec3 getEmissive (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Vec3 const &emissive, sdw::Float gamma) const
 
C3D_API sdw::Vec3 getSpecular (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Vec3 const &specular) const
 
C3D_API sdw::Float getMetalness (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &metalness) const
 
C3D_API sdw::Float getShininess (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &shininess) const
 
C3D_API sdw::Float getGlossiness (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &glossiness) const
 
C3D_API sdw::Float getRoughness (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &roughness) const
 
C3D_API sdw::Float getOpacity (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &opacity) const
 
C3D_API sdw::Vec3 getNormal (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Mat3 const &tbn) const
 
C3D_API sdw::Vec3 getNormal (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Vec3 const &normal, sdw::Vec3 const &tangent, sdw::Vec3 const &bitangent) const
 
C3D_API sdw::Float getHeight (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &height) const
 
C3D_API sdw::Float getOcclusion (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &occlusion) const
 
C3D_API sdw::Float getTransmittance (sdw::ShaderWriter &writer, sdw::Vec4 const &sampled, sdw::Float const &transmittance) const
 
C3D_API sdw::Vec2 convertUV (sdw::ShaderWriter &writer, sdw::Vec2 const &uv) const
 
C3D_API sdw::Vec3 convertUVW (sdw::ShaderWriter &writer, sdw::Vec3 const &uvw) const
 

Fonctions membres publiques statiques

static C3D_API std::unique_ptr< sdw::Struct > declare (sdw::ShaderWriter &writer)
 
static C3D_API ast::type::StructPtr makeType (ast::type::TypesCache &cache)
 

Attributs publics

sdw::Vec4 colrSpec
 
sdw::Vec4 glossOpa
 
sdw::Vec4 emisOccl
 
sdw::Vec4 trnsDumm
 
sdw::Vec4 normalFc
 
sdw::Vec4 heightFc
 
sdw::Vec4 miscVals
 
sdw::Vec4 translate
 
sdw::Vec4 rotate
 
sdw::Vec2 colourMask
 
sdw::Vec2 specularMask
 
sdw::Vec2 glossinessMask
 
sdw::Vec2 opacityMask
 
sdw::Vec2 emissiveMask
 
sdw::Vec2 normalMask
 
sdw::Float normalFactor
 
sdw::Float normalGMultiplier
 
sdw::Vec2 heightMask
 
sdw::Float heightFactor
 
sdw::Vec2 occlusionMask
 
sdw::Vec2 transmittanceMask
 
sdw::UInt needsGammaCorrection
 
sdw::UInt needsYInversion
 

Amis

class TextureConfigurations
 

Documentation des constructeurs et destructeur

◆ TextureConfigData()

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

Documentation des fonctions membres

◆ convertUV()

C3D_API sdw::Vec2 castor3d::shader::TextureConfigData::convertUV ( sdw::ShaderWriter &  writer,
sdw::Vec2 const &  uv 
) const

◆ convertUVW()

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::convertUVW ( sdw::ShaderWriter &  writer,
sdw::Vec3 const &  uvw 
) const

◆ declare()

static C3D_API std::unique_ptr< sdw::Struct > castor3d::shader::TextureConfigData::declare ( sdw::ShaderWriter &  writer)
static

◆ getAlbedo()

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getAlbedo ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Vec3 const &  diffuse,
sdw::Float  gamma 
) const

◆ getDiffuse()

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getDiffuse ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Vec3 const &  diffuse,
sdw::Float  gamma 
) const

◆ getEmissive()

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getEmissive ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Vec3 const &  emissive,
sdw::Float  gamma 
) const

◆ getGlossiness()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getGlossiness ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  glossiness 
) const

◆ getHeight()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getHeight ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  height 
) const

◆ getMetalness()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getMetalness ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  metalness 
) const

◆ getNormal() [1/2]

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getNormal ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Mat3 const &  tbn 
) const

◆ getNormal() [2/2]

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getNormal ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Vec3 const &  normal,
sdw::Vec3 const &  tangent,
sdw::Vec3 const &  bitangent 
) const

◆ getOcclusion()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getOcclusion ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  occlusion 
) const

◆ getOpacity()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getOpacity ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  opacity 
) const

◆ getRoughness()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getRoughness ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  roughness 
) const

◆ getShininess()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getShininess ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  shininess 
) const

◆ getSpecular()

C3D_API sdw::Vec3 castor3d::shader::TextureConfigData::getSpecular ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Vec3 const &  specular 
) const

◆ getTransmittance()

C3D_API sdw::Float castor3d::shader::TextureConfigData::getTransmittance ( sdw::ShaderWriter &  writer,
sdw::Vec4 const &  sampled,
sdw::Float const &  transmittance 
) const

◆ makeType()

static C3D_API ast::type::StructPtr castor3d::shader::TextureConfigData::makeType ( ast::type::TypesCache &  cache)
static

Documentation des fonctions amies et associées

◆ TextureConfigurations

friend class TextureConfigurations
friend

Documentation des données membres

◆ colourMask

sdw::Vec2 castor3d::shader::TextureConfigData::colourMask

◆ colrSpec

sdw::Vec4 castor3d::shader::TextureConfigData::colrSpec

◆ emisOccl

sdw::Vec4 castor3d::shader::TextureConfigData::emisOccl

◆ emissiveMask

sdw::Vec2 castor3d::shader::TextureConfigData::emissiveMask

◆ glossinessMask

sdw::Vec2 castor3d::shader::TextureConfigData::glossinessMask

◆ glossOpa

sdw::Vec4 castor3d::shader::TextureConfigData::glossOpa

◆ heightFactor

sdw::Float castor3d::shader::TextureConfigData::heightFactor

◆ heightFc

sdw::Vec4 castor3d::shader::TextureConfigData::heightFc

◆ heightMask

sdw::Vec2 castor3d::shader::TextureConfigData::heightMask

◆ miscVals

sdw::Vec4 castor3d::shader::TextureConfigData::miscVals

◆ needsGammaCorrection

sdw::UInt castor3d::shader::TextureConfigData::needsGammaCorrection

◆ needsYInversion

sdw::UInt castor3d::shader::TextureConfigData::needsYInversion

◆ normalFactor

sdw::Float castor3d::shader::TextureConfigData::normalFactor

◆ normalFc

sdw::Vec4 castor3d::shader::TextureConfigData::normalFc

◆ normalGMultiplier

sdw::Float castor3d::shader::TextureConfigData::normalGMultiplier

◆ normalMask

sdw::Vec2 castor3d::shader::TextureConfigData::normalMask

◆ occlusionMask

sdw::Vec2 castor3d::shader::TextureConfigData::occlusionMask

◆ opacityMask

sdw::Vec2 castor3d::shader::TextureConfigData::opacityMask

◆ rotate

sdw::Vec4 castor3d::shader::TextureConfigData::rotate

◆ specularMask

sdw::Vec2 castor3d::shader::TextureConfigData::specularMask

◆ translate

sdw::Vec4 castor3d::shader::TextureConfigData::translate

◆ transmittanceMask

sdw::Vec2 castor3d::shader::TextureConfigData::transmittanceMask

◆ trnsDumm

sdw::Vec4 castor3d::shader::TextureConfigData::trnsDumm

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