TeaPacket v0.0.1
Multiplatform Game Engine
|
Go to the source code of this file.
Namespaces | |
namespace | TeaPacket |
namespace | TeaPacket::Graphics |
Functionality relating to drawing graphics to the screen. | |
Functions | |
bool | TeaPacket::Graphics::Initialize () |
Initializes any Graphics related systems. | |
void | TeaPacket::Graphics::DeInitialize () |
Deinitializes all Graphics related systems. | |
void | TeaPacket::Graphics::SetRenderTarget (Viewport &viewport) |
Begins rendering to a specified Interface::Display. | |
void | TeaPacket::Graphics::SetRenderTarget (Display &display) |
Sets the active viewport to the viewport contained within a display. | |
void | TeaPacket::Graphics::FinishRenderTarget () |
Concludes rendering to the current Interface::Display. | |
void | TeaPacket::Graphics::ClearScreen (const Color4 &color) |
Clears the active Display with a color. | |
Variables | |
bool | TeaPacket::Graphics::initialized = false |
Whether all Interface functionality has been initialized. | |
Viewport * | TeaPacket::Graphics::currentViewport = nullptr |
The current Interface::Display being rendered to. | |