#include <PostEffect.hpp>
◆ Kind
Enumerator |
---|
eHDR | |
eSRGB | |
eOverlay | |
◆ PostEffect()
Constructor.
- Parameters
-
[in] | name | The effect name. |
[in] | groupName | The effect passes group name. |
[in] | fullName | The effect full (fancy) name. |
[in] | renderTarget | The render target to which is attached this effect. |
[in] | renderSystem | The render system. |
[in] | parameters | The optional parameters. |
[in] | passesCount | The number of passes for this post effect. |
[in] | kind | The post effect kind. |
◆ ~PostEffect()
virtual C3D_API castor3d::PostEffect::~PostEffect |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ accept()
Visitor acceptance function.
- Parameters
-
◆ cleanup()
Cleanup function.
- Parameters
-
[in] | device | The GPU device. |
◆ enable()
void castor3d::PostEffect::enable |
( |
bool | value | ) |
|
|
inlinenoexcept |
◆ getFullName()
◆ getPass()
virtual C3D_API crg::FramePass const & castor3d::PostEffect::getPass |
( |
| ) |
const |
|
pure virtual |
◆ initialise()
Initialisation function.
- Parameters
-
[in] | device | The GPU device. |
[in] | source | The source texture. |
[in] | target | The target texture. |
[in] | previousPass | The previous frame pass. |
- Returns
true
if ok.
◆ isAfterToneMapping()
bool castor3d::PostEffect::isAfterToneMapping |
( |
| ) |
const |
|
inlinenoexcept |
◆ isEnabled()
bool const & castor3d::PostEffect::isEnabled |
( |
| ) |
const |
|
inlinenoexcept |
◆ setParameters()
◆ update() [1/2]
- Parameters
-
[in,out] | updater | The update data. |
[in] | source | The current source image. |
◆ update() [2/2]
- Parameters
-
[in,out] | updater | The update data. |
◆ writeInto()
Writes the effect into a text file.
- Parameters
-
[in] | file | The file. |
[in] | tabs | The current indentation. |
◆ m_enabled
bool castor3d::PostEffect::m_enabled { true } |
|
protected |
◆ m_fullName
◆ m_graph
crg::FramePassGroup& castor3d::PostEffect::m_graph |
|
protected |
◆ m_kind
◆ m_passesCount
uint32_t castor3d::PostEffect::m_passesCount { 1u } |
|
protected |
◆ m_passIndex
uint32_t castor3d::PostEffect::m_passIndex {} |
|
protected |
◆ m_renderTarget
◆ m_source
Texture const* castor3d::PostEffect::m_source {} |
|
protected |
The documentation for this class was generated from the following file: