![]() |
Chira Engine
A customizable MIT-licensed game engine.
|
Public Member Functions | |
Viewport (glm::vec2i size_, ColorRGB backgroundColor_={}, bool linearFiltering_=true) | |
Scene * | addScene () |
Scene * | addScene (const std::string &name) |
Scene * | addScene (uuids::uuid uuid) |
Scene * | addScene (uuids::uuid uuid, const std::string &name) |
Scene * | getScene (uuids::uuid sceneID) |
const auto & | getScenes () const |
bool | hasScene (uuids::uuid sceneID) |
void | removeScene (uuids::uuid sceneID) |
void | removeAllScenes () |
void | update () |
void | render () |
CameraComponent * | getCamera () const |
ColorRGB | getBackgroundColor () const |
void | setBackgroundColor (ColorRGB color) |
glm::vec2i | getSize () const |
void | setSize (glm::vec2i size_) |
bool | isLinearFiltered () const |
void | setLinearFiltering (bool enable) |
Renderer::FrameBufferHandle * | getRawHandle () |
Definition at line 8 of file Viewport.h.