A context to render graphical objects. Possesses a set of Camera associated to each CameraMode.
More...
#include <IDrawingContext.hpp>
List of all members.
Detailed Description
A context to render graphical objects. Possesses a set of Camera associated to each CameraMode.
Definition at line 22 of file IDrawingContext.hpp.
Constructor & Destructor Documentation
| virtual yap::IDrawingContext::~IDrawingContext |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual void yap::IDrawingContext::AddCamera |
( |
const CameraMode & |
mode, |
|
|
ICamera * |
camera |
|
) |
| |
|
pure virtual |
| virtual void yap::IDrawingContext::ChangeSize |
( |
const Vector2 & |
size | ) |
|
|
pure virtual |
| virtual void yap::IDrawingContext::Draw |
( |
const sf::Drawable & |
drawable | ) |
|
|
pure virtual |
| virtual const ICamera& yap::IDrawingContext::GetCamera |
( |
| ) |
const |
|
pure virtual |
| virtual ICamera& yap::IDrawingContext::GetCamera |
( |
| ) |
|
|
pure virtual |
| virtual const ICamera& yap::IDrawingContext::GetCamera |
( |
const CameraMode & |
mode | ) |
const |
|
pure virtual |
Gets the Camera associated to a CameraMode.
- Parameters:
-
| mode | CameraMode to get the Camera associated with. |
- Returns:
- A constant reference to the Camera.
Implemented in yap::DrawingContext.
Gets the Camera associated to a CameraMode.
- Parameters:
-
| mode | CameraMode to get the Camera associated with. |
- Returns:
- A non-constant reference to the Camera.
Implemented in yap::DrawingContext.
| virtual const sf::RenderTarget& yap::IDrawingContext::GetRenderTarget |
( |
| ) |
const |
|
pure virtual |
| virtual sf::RenderTarget& yap::IDrawingContext::GetRenderTarget |
( |
| ) |
|
|
pure virtual |
| virtual const sf::Color& yap::IDrawingContext::GetTargetClearColor |
( |
| ) |
const |
|
pure virtual |
| virtual void yap::IDrawingContext::RemoveCamera |
( |
const CameraMode & |
mode | ) |
|
|
pure virtual |
| virtual void yap::IDrawingContext::SetDefaultCamera |
( |
| ) |
|
|
pure virtual |
| virtual void yap::IDrawingContext::SetDefaultMode |
( |
const CameraMode & |
mode | ) |
|
|
pure virtual |
| virtual void yap::IDrawingContext::SetMode |
( |
const CameraMode & |
mode | ) |
|
|
pure virtual |
| virtual void yap::IDrawingContext::SetTargetClearColor |
( |
const sf::Color & |
color | ) |
|
|
pure virtual |
The documentation for this struct was generated from the following file: