|
| C3D_API void | applyTexture (shader::PassShaders const &passShaders, shader::TextureConfigurations const &textureConfigs, shader::TextureAnimations const &textureAnims, sdw::Array< sdw::CombinedImage2DRgba32 > const &maps, shader::Material const &material, shader::BlendComponents &components, shader::SampleTexture const &sampleTexture) const override |
| |
| PassComponentTextureFlag | getTextureFlags () const |
| |
| C3D_API | PassComponentsShader (PassComponentPlugin const &plugin) |
| |
| C3D_API | PassComponentsShader (PassComponentPlugin const &plugin) |
| |
| virtual C3D_API void | fillComponents (ComponentModeFlags componentsMask, sdw::type::BaseStruct &components, Materials const &materials, sdw::StructInstance const *surface) const |
| | Fills the components shader struct with the members provided by this component.
|
| |
| virtual C3D_API void | fillComponentsInits (sdw::type::BaseStruct const &components, Materials const &materials, Material const *material, sdw::StructInstance const *surface, sdw::Vec4 const *clrCot, sdw::expr::ExprList &inits) const |
| | Fills the components shader struct members initialiser with the ones provided by this component.
|
| |
| virtual C3D_API void | applyComponents (PipelineFlags const *flags, shader::TextureConfigData const &config, sdw::U32Vec3 const &imgCompConfig, sdw::Vec4 const &sampled, sdw::Vec2 const &uv, BlendComponents &components) const |
| | Fills this component's values with the data retrieved from a texture.
|
| |
| virtual C3D_API void | blendComponents (shader::Materials const &materials, sdw::Float const &passMultiplier, BlendComponents &res, BlendComponents const &src) const |
| | Used to mix components when multiple passes are blended together.
|
| |
| virtual C3D_API void | updateComponent (sdw::Array< sdw::CombinedImage2DRgba32 > const &maps, shader::Material const &material, shader::BlendComponents &components, bool isFrontCulled) const |
| |
| virtual C3D_API void | finishComponent (shader::DerivSurfaceBase const &surface, shader::CameraData const &camera, shader::ModelData const &model, shader::Utils &utils, shader::BlendComponents &components) const |
| |
| virtual C3D_API sdw::Vec4 | sampleMap (sdw::CombinedImage2DRgba32 const &map, sdw::Vec3 const &texCoords, shader::BlendComponents const &components) const |
| |
| virtual C3D_API sdw::Vec4 | sampleMap (sdw::CombinedImage2DRgba32 const &map, shader::DerivTex const &texCoords, shader::BlendComponents const &components) const |
| |
| virtual C3D_API bool | isMapSampling (PipelineFlags const &flags) const |
| |
| C3D_API PassComponentID | getId () const |
| |
| PassComponentPlugin const & | getPlugin () const |
| |
| | PassShader ()=default |
| |
| | PassShader (PassShader const &)=delete |
| |
| PassShader & | operator= (PassShader const &)=delete |
| |
| C3D_API | PassShader (PassShader &&)=default |
| |
| C3D_API PassShader & | operator= (PassShader &&)=default |
| |
| virtual C3D_API | ~PassShader ()=default |
| |
|
| C3D_API sdw::Float | loadFloatComponent (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API sdw::Vec2 | loadVec2Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API sdw::Vec3 | loadVec3Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API sdw::Vec4 | loadVec4Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Float | loadFloatComponent (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec2 | loadVec2Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec3 | loadVec3Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec4 | loadVec4Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API void | applyFloatComponent (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API void | applyVec2Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API void | applyVec3Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| C3D_API void | applyVec4Component (castor::String const &mapName, castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| void | applyFloatComponent (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| void | applyVec2Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| void | applyVec3Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| void | applyVec4Component (castor::String const &valueName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Float | doLoadFloatComponent (castor::MbString const &mbMapName, castor::MbString const &mbValueName, castor::MbString const &textureName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec2 | doLoadVec2Component (castor::MbString const &mbMapName, castor::MbString const &mbValueName, castor::MbString const &textureName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec3 | doLoadVec3Component (castor::MbString const &mbMapName, castor::MbString const &mbValueName, castor::MbString const &textureName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |
| sdw::Vec4 | doLoadVec4Component (castor::MbString const &mbMapName, castor::MbString const &mbValueName, castor::MbString const &textureName, PassShaders const &passShaders, TextureConfigurations const &textureConfigs, TextureAnimations const &textureAnims, Material const &material, BlendComponents &components, SampleTexture const &sampleTexture) const |
| |