9 #ifndef RAMSES_RENDERPASS_H
10 #define RAMSES_RENDERPASS_H
239 friend class SceneImpl;
#define RAMSES_API
Definition: APIExport.h:35
The Camera base class is part of a scene and defines a view into the scene defined by the client appl...
Definition: Camera.h:26
The RenderGroup is a container used to collect renderables which are supposed to be rendered together...
Definition: RenderGroup.h:31
The RenderPass is a container used to collect meshes which are supposed to be rendered together.
Definition: RenderPass.h:31
bool containsRenderGroup(const RenderGroup &renderGroup) const
Checks whether a RenderGroup is part of the RenderPass.
status_t setCamera(const Camera &camera)
Set the camera to use for rendering the objects of this renderpass.
status_t setClearFlags(uint32_t clearFlags)
Set the clear flags which enable/disable the clearing of the render target assigned to this RenderPas...
status_t retriggerRenderOnce()
Will re-render a render once pass.
status_t setRenderTarget(RenderTarget *renderTarget)
Set the render target for the render pass to render into.
virtual ~RenderPass()
Destructor of the RenderPass.
RenderPass(RenderPassImpl &pimpl)
Constructor for RenderPass.
int32_t getRenderOrder() const
Get the render order of this render pass.
status_t addRenderGroup(const RenderGroup &renderGroup, int32_t orderWithinPass=0)
Add a RenderGroup to this RenderPass for rendering.
void getClearColor(float &r, float &g, float &b, float &a) const
Returns the clear color of the RenderPass.
bool isRenderOnce() const
Get the render once state of the render pass.
status_t removeAllRenderGroups()
Will make the RenderPass empty.
const Camera * getCamera() const
status_t setRenderOnce(bool enable)
Set/unset render once flag - rendering of the render pass only once.
class RenderPassImpl & impl
Definition: RenderPass.h:233
bool isEnabled() const
Get the enable state of the render pass.
status_t setRenderOrder(int32_t renderOrder)
Set the render order for the render pass.
status_t removeRenderGroup(const RenderGroup &renderGroup)
Remove a RenderGroup from this RenderPass.
status_t setClearColor(float r, float g, float b, float a)
Set the clear color for the RenderPass (default: [0,0,0,0])
const RenderTarget * getRenderTarget() const
Get the render target of this render pass.
uint32_t getClearFlags() const
Returns the clear flags of the RenderPass.
status_t setEnabled(bool enable)
Enable/Disable render pass.
status_t getRenderGroupOrder(const RenderGroup &renderGroup, int32_t &orderWithinPass) const
Gets a render order of given RenderGroup within this RenderPass.
The RenderTarget can be used as an output for a RenderPass.
Definition: RenderTarget.h:20
The SceneObject is a base class for all client API objects owned by a Scene.
Definition: SceneObject.h:20
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26