20#include "../primitive/background.h"
23#include "../object/object.h"
24#include "../primitive/target.h"
40 std::shared_ptr<Node>
node;
64 std::shared_ptr<BoundingBox>
getBoundingBox(
const std::shared_ptr<Pass>& pass);
The Pass class represents a rendering pass within a graphics pipeline.
Definition pass.h:34
std::shared_ptr< Target > target
This member holds a shared pointer to a Target object which stores the rendering results,...
Definition pass.h:41
int transVersion
Definition pass.h:45
UpdateMode
Definition pass.h:48
std::shared_ptr< Background > background
This member holds a shared pointer to a Background object which defines the scene background.
Definition pass.h:38
std::shared_ptr< Node > node
This member holds a shared pointer to a Node object which represents the rendering objects of the cur...
Definition pass.h:40
std::shared_ptr< Camera > camera
This member holds a shared pointer to a Camera object which the current pass uses for rendering.
Definition pass.h:39
void update(UpdateMode mode=UpdateMode::All)
std::string name
This memeber stores the name of the pass.
Definition pass.h:36
int assetVersion
Definition pass.h:43
int batchVersion
Definition pass.h:44
bool enabled
This member indicates whether the pass is currently enabled. Disabled passes are skipped during rende...
Definition pass.h:37
std::shared_ptr< BoundingBox > getBoundingBox(const std::shared_ptr< Geometry > &geometry, const std::string &attribName="positions")