Castor3D 0.16.0
Multiplatform 3D engine
Fonctions membres publiques | Fonctions membres publiques statiques | Liste de tous les membres
Référence de la classe castor3d::shader::TextureConfigurations

#include <GlslTextureConfiguration.hpp>

Graphe d'héritage de castor3d::shader::TextureConfigurations:
Inheritance graph
[légende]
Graphe de collaboration de castor3d::shader::TextureConfigurations:
Collaboration graph
[légende]

Fonctions membres publiques

C3D_API TextureConfigurations (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enable=true)
 
C3D_API void computeMapsContributions (PassShaders const &passShaders, PipelineFlags const &flags, TextureAnimations const &textureAnims, sdw::Array< sdw::CombinedImage2DRgba32 > const &maps, Material const &material, BlendComponents &components) const
 
C3D_API void computeMapsContributions (PassShaders const &passShaders, TextureCombine const &texturesFlags, TextureAnimations const &textureAnims, sdw::Array< sdw::CombinedImage2DRgba32 > const &maps, Material const &material, BlendComponents &components) const
 
template<typename TexcoordT >
TexcoordT computeTexcoordsT (PassShaders const &passShaders, TextureConfigData const &config, TextureTransformData const &anim, BlendComponents const &components) const
 
template<typename TexcoordT , typename FlagsT >
void computeMapsContributionsT (PassShaders const &passShaders, FlagsT const &flags, TextureAnimations const &textureAnims, sdw::Array< sdw::CombinedImage2DRgba32 > const &maps, Material const &material, BlendComponents &components) const
 
TextureConfigData getTextureConfiguration (sdw::UInt const &index) const
 
- Fonctions membres publiques hérités de castor3d::shader::BufferT< TextureConfigData >
 BufferT (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true, ParamsT &&... params)
 
TextureConfigData getData (sdw::UInt const &index, ParamsT &&... params) const
 
- Fonctions membres publiques hérités de castor3d::shader::BufferBase
 BufferBase (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true)
 
sdw::UInt getFirstCount () const
 
sdw::UInt getSecondCount () const
 
sdw::UInt getThirdCount () const
 
sdw::UInt getFourthCount () const
 
sdw::UInt getCount () const
 
bool isEnabled () const noexcept
 
sdw::ShaderWriter * getWriter () const noexcept
 

Fonctions membres publiques statiques

template<typename TexcoordT >
static TexcoordT getTexcoord (TextureConfigData const &data, TexcoordT const &texCoords0, TexcoordT const &texCoords1, TexcoordT const &texCoords2, TexcoordT const &texCoords3)
 
template<typename TexcoordT >
static void setTexcoord (TextureConfigData const &data, TexcoordT const &value, TexcoordT &texCoords0, TexcoordT &texCoords1, TexcoordT &texCoords2, TexcoordT &texCoords3)
 

Membres hérités additionnels

- Attributs protégés hérités de castor3d::shader::BufferBase
sdw::ShaderWriter & m_writer
 
castor::RawUniquePtr< sdw::StorageBuffer > m_ssbo
 
castor::MbString m_variableName
 

Documentation des constructeurs et destructeur

◆ TextureConfigurations()

C3D_API castor3d::shader::TextureConfigurations::TextureConfigurations ( sdw::ShaderWriter & writer,
uint32_t binding,
uint32_t set,
bool enable = true )

Documentation des fonctions membres

◆ computeMapsContributions() [1/2]

C3D_API void castor3d::shader::TextureConfigurations::computeMapsContributions ( PassShaders const & passShaders,
PipelineFlags const & flags,
TextureAnimations const & textureAnims,
sdw::Array< sdw::CombinedImage2DRgba32 > const & maps,
Material const & material,
BlendComponents & components ) const

◆ computeMapsContributions() [2/2]

C3D_API void castor3d::shader::TextureConfigurations::computeMapsContributions ( PassShaders const & passShaders,
TextureCombine const & texturesFlags,
TextureAnimations const & textureAnims,
sdw::Array< sdw::CombinedImage2DRgba32 > const & maps,
Material const & material,
BlendComponents & components ) const

◆ computeMapsContributionsT()

template<typename TexcoordT , typename FlagsT >
void castor3d::shader::TextureConfigurations::computeMapsContributionsT ( PassShaders const & passShaders,
FlagsT const & flags,
TextureAnimations const & textureAnims,
sdw::Array< sdw::CombinedImage2DRgba32 > const & maps,
Material const & material,
BlendComponents & components ) const

◆ computeTexcoordsT()

template<typename TexcoordT >
TexcoordT castor3d::shader::TextureConfigurations::computeTexcoordsT ( PassShaders const & passShaders,
TextureConfigData const & config,
TextureTransformData const & anim,
BlendComponents const & components ) const

◆ getTexcoord()

template<typename TexcoordT >
static TexcoordT castor3d::shader::TextureConfigurations::getTexcoord ( TextureConfigData const & data,
TexcoordT const & texCoords0,
TexcoordT const & texCoords1,
TexcoordT const & texCoords2,
TexcoordT const & texCoords3 )
static

◆ getTextureConfiguration()

TextureConfigData castor3d::shader::TextureConfigurations::getTextureConfiguration ( sdw::UInt const & index) const
inline

Références castor3d::shader::BufferT< DataT >::getData().

Voici le graphe d'appel pour cette fonction :

◆ setTexcoord()

template<typename TexcoordT >
static void castor3d::shader::TextureConfigurations::setTexcoord ( TextureConfigData const & data,
TexcoordT const & value,
TexcoordT & texCoords0,
TexcoordT & texCoords1,
TexcoordT & texCoords2,
TexcoordT & texCoords3 )
static

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