Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::DefaultReflRefrComponent::ReflRefrShader Struct Reference

#include <DefaultReflRefrComponent.hpp>

Inheritance diagram for castor3d::DefaultReflRefrComponent::ReflRefrShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::DefaultReflRefrComponent::ReflRefrShader:
Collaboration graph
[legend]

Public Member Functions

C3D_API void computeReflRefr (shader::ReflectionModel &reflections, shader::BlendComponents &components, shader::LightSurface const &lightSurface, sdw::Vec4 const &position, shader::BackgroundModel &background, sdw::CombinedImage2DRgba32 const &mippedScene, shader::CameraData const &camera, shader::DirectLighting &lighting, shader::IndirectLighting &indirect, sdw::Vec2 const &sceneUv, sdw::UInt const &envMapIndex, sdw::Vec3 const &incident, sdw::UInt const &hasReflection, sdw::UInt const &hasRefraction, sdw::Float const &refractionRatio, sdw::Vec3 &reflectedDiffuse, sdw::Vec3 &reflectedSpecular, sdw::Vec3 &refracted, sdw::Vec3 &coatReflected, sdw::Vec3 &sheenReflected, shader::DebugOutput &debugOutput) const override
 
C3D_API void computeReflRefr (shader::ReflectionModel &reflections, shader::BlendComponents &components, shader::LightSurface const &lightSurface, shader::BackgroundModel &background, shader::CameraData const &camera, shader::DirectLighting &lighting, shader::IndirectLighting &indirect, sdw::Vec2 const &sceneUv, sdw::UInt const &envMapIndex, sdw::Vec3 const &incident, sdw::UInt const &hasReflection, sdw::UInt const &hasRefraction, sdw::Float const &refractionRatio, sdw::Vec3 &reflectedDiffuse, sdw::Vec3 &reflectedSpecular, sdw::Vec3 &refracted, sdw::Vec3 &coatReflected, sdw::Vec3 &sheenReflected, shader::DebugOutput &debugOutput) const override
 
- Public Member Functions inherited from castor3d::shader::PassReflRefrShader
 PassReflRefrShader (PassComponentPlugin const &plugin)
 
C3D_API PassComponentID getId () const
 
PassComponentPlugin const & getPlugin () const
 
- Public Member Functions inherited from castor3d::shader::PassShader
 PassShader ()=default
 
 PassShader (PassShader const &)=delete
 
PassShaderoperator= (PassShader const &)=delete
 
C3D_API PassShader (PassShader &&)=default
 
C3D_API PassShaderoperator= (PassShader &&)=default
 
virtual C3D_API ~PassShader ()=default
 

Member Function Documentation

◆ computeReflRefr() [1/2]

C3D_API void castor3d::DefaultReflRefrComponent::ReflRefrShader::computeReflRefr ( shader::ReflectionModel & reflections,
shader::BlendComponents & components,
shader::LightSurface const & lightSurface,
sdw::Vec4 const & position,
shader::BackgroundModel & background,
sdw::CombinedImage2DRgba32 const & mippedScene,
shader::CameraData const & camera,
shader::DirectLighting & lighting,
shader::IndirectLighting & indirect,
sdw::Vec2 const & sceneUv,
sdw::UInt const & envMapIndex,
sdw::Vec3 const & incident,
sdw::UInt const & hasReflection,
sdw::UInt const & hasRefraction,
sdw::Float const & refractionRatio,
sdw::Vec3 & reflectedDiffuse,
sdw::Vec3 & reflectedSpecular,
sdw::Vec3 & refracted,
sdw::Vec3 & coatReflected,
sdw::Vec3 & sheenReflected,
shader::DebugOutput & debugOutput ) const
overridevirtual

◆ computeReflRefr() [2/2]

C3D_API void castor3d::DefaultReflRefrComponent::ReflRefrShader::computeReflRefr ( shader::ReflectionModel & reflections,
shader::BlendComponents & components,
shader::LightSurface const & lightSurface,
shader::BackgroundModel & background,
shader::CameraData const & camera,
shader::DirectLighting & lighting,
shader::IndirectLighting & indirect,
sdw::Vec2 const & sceneUv,
sdw::UInt const & envMapIndex,
sdw::Vec3 const & incident,
sdw::UInt const & hasReflection,
sdw::UInt const & hasRefraction,
sdw::Float const & refractionRatio,
sdw::Vec3 & reflectedDiffuse,
sdw::Vec3 & reflectedSpecular,
sdw::Vec3 & refracted,
sdw::Vec3 & coatReflected,
sdw::Vec3 & sheenReflected,
shader::DebugOutput & debugOutput ) const
overridevirtual

The documentation for this struct was generated from the following file: