#include <SubsurfaceScatteringPass.hpp>
|
| OwnedBy (Engine &owner) |
| Constructor.
|
|
◆ 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] | graph | The frame graph. |
[in] | previousPass | The previous frame pass. |
[in] | device | The GPU device. |
[in] | progress | The optional progress bar. |
[in] | scene | The scene. |
[in] | cameraUbo | The camera UBO. |
[in] | depthObj | The depths and objects image. |
[in] | diffuse | The diffuse lighting texture. |
[in] | isEnabled | Callback to check if the pass is active. |
◆ ~SubsurfaceScatteringPass()
C3D_API castor3d::SubsurfaceScatteringPass::~SubsurfaceScatteringPass |
( |
| ) |
|
|
noexcept |
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ getLastPass()
crg::FramePass const & castor3d::SubsurfaceScatteringPass::getLastPass |
( |
| ) |
const |
|
inlinenoexcept |
◆ getResult()
Texture const & castor3d::SubsurfaceScatteringPass::getResult |
( |
| ) |
const |
|
inlinenoexcept |
◆ update()
Updates the render pass, CPU wise.
- Parameters
-
[in,out] | updater | The update data. |
◆ Config
◆ Correction
◆ Offsets
◆ PixelSize
◆ Step
◆ Weights
The documentation for this class was generated from the following file: