#include <GlslTextureConfiguration.hpp>
|
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 |
|
| 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 |
|
| 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 |
|
|
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) |
|
◆ TextureConfigurations()
C3D_API castor3d::shader::TextureConfigurations::TextureConfigurations |
( |
sdw::ShaderWriter & | writer, |
|
|
uint32_t | binding, |
|
|
uint32_t | set, |
|
|
bool | enable = true ) |
◆ computeMapsContributions() [1/2]
◆ computeMapsContributions() [2/2]
◆ 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 >
◆ 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 |
◆ 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 |
The documentation for this class was generated from the following file: