Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::shader::PassReflRefrShader Struct Referenceabstract

#include <PassComponent.hpp>

Inheritance diagram for castor3d::shader::PassReflRefrShader:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::PassReflRefrShader:
Collaboration graph
[legend]

Public Member Functions

 PassReflRefrShader (PassComponentPlugin const &plugin)
 
virtual C3D_API void computeReflRefr (ReflectionModel &reflections, BlendComponents &components, LightSurface const &lightSurface, sdw::Vec4 const &position, BackgroundModel &background, sdw::CombinedImage2DRgba32 const &mippedScene, CameraData const &camera, DirectLighting &lighting, 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, DebugOutput &debugOutput) const =0
 
virtual C3D_API void computeReflRefr (ReflectionModel &reflections, BlendComponents &components, LightSurface const &lightSurface, BackgroundModel &background, CameraData const &camera, DirectLighting &lighting, 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, DebugOutput &debugOutput) const =0
 

Getters.

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
 

Constructor & Destructor Documentation

◆ PassReflRefrShader()

castor3d::shader::PassReflRefrShader::PassReflRefrShader ( PassComponentPlugin const & plugin)
inlineexplicit

Member Function Documentation

◆ computeReflRefr() [1/2]

virtual C3D_API void castor3d::shader::PassReflRefrShader::computeReflRefr ( ReflectionModel & reflections,
BlendComponents & components,
LightSurface const & lightSurface,
BackgroundModel & background,
CameraData const & camera,
DirectLighting & lighting,
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,
DebugOutput & debugOutput ) const
pure virtual

◆ computeReflRefr() [2/2]

virtual C3D_API void castor3d::shader::PassReflRefrShader::computeReflRefr ( ReflectionModel & reflections,
BlendComponents & components,
LightSurface const & lightSurface,
sdw::Vec4 const & position,
BackgroundModel & background,
sdw::CombinedImage2DRgba32 const & mippedScene,
CameraData const & camera,
DirectLighting & lighting,
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,
DebugOutput & debugOutput ) const
pure virtual

◆ getId()

C3D_API PassComponentID castor3d::shader::PassReflRefrShader::getId ( ) const

◆ getPlugin()

PassComponentPlugin const & castor3d::shader::PassReflRefrShader::getPlugin ( ) const
inline

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