RAMSES Documentation  27.0.130
Information for RAMSES users and developers
RenderTarget.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2015 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_RENDERTARGET_H
10 #define RAMSES_RENDERTARGET_H
11 
13 
14 namespace ramses
15 {
20  {
21  public:
22 
28  uint32_t getWidth() const;
29 
35  uint32_t getHeight() const;
36 
40  class RenderTargetImpl& impl;
41 
42  protected:
46  friend class SceneImpl;
47 
53  explicit RenderTarget(RenderTargetImpl& pimpl);
54 
58  virtual ~RenderTarget();
59  };
60 }
61 
62 #endif
#define RAMSES_API
Definition: APIExport.h:35
The RenderTarget can be used as an output for a RenderPass.
Definition: RenderTarget.h:20
uint32_t getWidth() const
Returns the width of the RenderTarget in pixels.
virtual ~RenderTarget()
Destructor of the RenderTarget.
RenderTarget(RenderTargetImpl &pimpl)
Constructor for RenderTarget.
uint32_t getHeight() const
Returns the height of the RenderTarget in pixels.
class RenderTargetImpl & impl
Definition: RenderTarget.h:40
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