The Pass class represents a rendering pass within a graphics pipeline. More...
#include <pass.h>
Public Types | |
| enum class | UpdateMode { None = 0 , Asset = 1 , Batch = 2 , Trans = 4 , All = Asset | Batch | Trans } |
Public Member Functions | |
| Pass () | |
| void | update (UpdateMode mode=UpdateMode::All) |
| void | updateAsset () |
| void | updateBatch () |
| void | updateTrans () |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| std::string | name |
| This memeber stores the name of the pass. | |
| bool | enabled |
| This member indicates whether the pass is currently enabled. Disabled passes are skipped during rendering. | |
| BackgroundPtr | background |
| This member holds a shared pointer to a Background object which defines the scene background. | |
| CameraPtr | camera |
| This member holds a shared pointer to a Camera object which the current pass uses for rendering. | |
| NodePtr | node |
| This member holds a shared pointer to a Node object which represents the rendering objects of the current pass. | |
| TargetPtr | target |
| This member holds a shared pointer to a Target object which stores the rendering results, such as a buffer or texture. | |
| int | assetVersion |
| int | batchVersion |
| int | transVersion |
The Pass class represents a rendering pass within a graphics pipeline.
It defines a set of objects and settings to be used for a specific stage of rendering.
|
strong |
| cil::Pass::Pass | ( | ) |
| void cil::Pass::update | ( | UpdateMode | mode = UpdateMode::All | ) |
| void cil::Pass::updateAsset | ( | ) |
| void cil::Pass::updateBatch | ( | ) |
| void cil::Pass::updateTrans | ( | ) |
| int cil::Pass::assetVersion |
| BackgroundPtr cil::Pass::background |
This member holds a shared pointer to a Background object which defines the scene background.
| int cil::Pass::batchVersion |
| CameraPtr cil::Pass::camera |
This member holds a shared pointer to a Camera object which the current pass uses for rendering.
| bool cil::Pass::enabled |
This member indicates whether the pass is currently enabled. Disabled passes are skipped during rendering.
| std::string cil::Pass::name |
This memeber stores the name of the pass.
| NodePtr cil::Pass::node |
This member holds a shared pointer to a Node object which represents the rendering objects of the current pass.
| TargetPtr cil::Pass::target |
This member holds a shared pointer to a Target object which stores the rendering results, such as a buffer or texture.
| int cil::Pass::transVersion |