Castor3D 0.16.0
Multiplatform 3D engine
Classes | Public Member Functions | Static Public Attributes | List of all members
castor3d::SubsurfaceScatteringPass Class Reference

#include <SubsurfaceScatteringPass.hpp>

Inheritance diagram for castor3d::SubsurfaceScatteringPass:
Inheritance graph
[legend]
Collaboration diagram for castor3d::SubsurfaceScatteringPass:
Collaboration graph
[legend]

Classes

struct  BlurConfiguration
 
struct  BlurWeights
 

Public Member Functions

C3D_API SubsurfaceScatteringPass (crg::FramePassGroup &graph, crg::FramePass const &previousPass, RenderDevice const &device, ProgressBar *progress, Scene const &scene, CameraUbo const &cameraUbo, Texture const &depthObj, Texture const &diffuse, crg::RunnablePass::IsEnabledCallback const &isEnabled)
 Constructor.
 
C3D_API ~SubsurfaceScatteringPass () noexcept
 
C3D_API void update (CpuUpdater &updater)
 Updates the render pass, CPU wise.
 
C3D_API void accept (ConfigurationVisitorBase &visitor)
 Visitor acceptance function.
 
Texture const & getResult () const noexcept
 
crg::FramePass const & getLastPass () const noexcept
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Attributes

static castor::MbString const Config
 
static castor::MbString const Step
 
static castor::MbString const Correction
 
static castor::MbString const PixelSize
 
static castor::MbString const Weights
 
static castor::MbString const Offsets
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ SubsurfaceScatteringPass()

C3D_API castor3d::SubsurfaceScatteringPass::SubsurfaceScatteringPass ( crg::FramePassGroup & graph,
crg::FramePass const & previousPass,
RenderDevice const & device,
ProgressBar * progress,
Scene const & scene,
CameraUbo const & cameraUbo,
Texture const & depthObj,
Texture const & diffuse,
crg::RunnablePass::IsEnabledCallback const & isEnabled )

Constructor.

Parameters
[in]graphThe frame graph.
[in]previousPassThe previous frame pass.
[in]deviceThe GPU device.
[in]progressThe optional progress bar.
[in]sceneThe scene.
[in]cameraUboThe camera UBO.
[in]depthObjThe depths and objects image.
[in]diffuseThe diffuse lighting texture.
[in]isEnabledCallback to check if the pass is active.

◆ ~SubsurfaceScatteringPass()

C3D_API castor3d::SubsurfaceScatteringPass::~SubsurfaceScatteringPass ( )
noexcept

Member Function Documentation

◆ accept()

C3D_API void castor3d::SubsurfaceScatteringPass::accept ( ConfigurationVisitorBase & visitor)

Visitor acceptance function.

Parameters
visitorThe ... visitor.

◆ getLastPass()

crg::FramePass const & castor3d::SubsurfaceScatteringPass::getLastPass ( ) const
inlinenoexcept

◆ getResult()

Texture const & castor3d::SubsurfaceScatteringPass::getResult ( ) const
inlinenoexcept

◆ update()

C3D_API void castor3d::SubsurfaceScatteringPass::update ( CpuUpdater & updater)

Updates the render pass, CPU wise.

Parameters
[in,out]updaterThe update data.

Member Data Documentation

◆ Config

castor::MbString const castor3d::SubsurfaceScatteringPass::Config
static

◆ Correction

castor::MbString const castor3d::SubsurfaceScatteringPass::Correction
static

◆ Offsets

castor::MbString const castor3d::SubsurfaceScatteringPass::Offsets
static

◆ PixelSize

castor::MbString const castor3d::SubsurfaceScatteringPass::PixelSize
static

◆ Step

castor::MbString const castor3d::SubsurfaceScatteringPass::Step
static

◆ Weights

castor::MbString const castor3d::SubsurfaceScatteringPass::Weights
static

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