#include <Window.hpp>
|
| void | open (const std::string &caption, u16 width, u16 height) |
| |
| void | clear () |
| |
| void | display () |
| |
| void | setVerticalSyncEnabled (bool enabled) |
| |
| Vector2u | getSize () const override |
| |
| void | close () |
| |
| bool | isOpen () const |
| |
| SDL_Window * | window () const |
| |
| const View & | getDefaultView () const override |
| |
| void | draw (const IDrawable &drawable, const RenderStates &states=RenderStates::Default) |
| |
| void | draw (const VertexBuffer &vertexBuffer, GLenum mode, std::size_t firstVertex, std::size_t vertexCount, const RenderStates &states=RenderStates::Default) |
| |
| void | drawElements (const VertexBuffer &vertexBuffer, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, const RenderStates &states=RenderStates::Default) |
| |
| const View * | getView () const |
| |
| void | setView (const View &view) |
| |
| void | disableView () |
| |
|
| using | SDL_WindowPtr = std::unique_ptr< SDL_Window, decltype(&SDL_DestroyWindow)> |
| |
| using | SDL_GLContextPtr = std::unique_ptr< void, decltype(&SDL_GL_DeleteContext)> |
| |
Definition at line 26 of file Window.hpp.
§ SDL_GLContextPtr
§ SDL_WindowPtr
§ clear()
| void gk::Window::clear |
( |
| ) |
|
§ close()
| void gk::Window::close |
( |
| ) |
|
|
inline |
§ display()
| void gk::Window::display |
( |
| ) |
|
§ getDefaultView()
| const View& gk::Window::getDefaultView |
( |
| ) |
const |
|
inlineoverridevirtual |
§ getSize()
§ isOpen()
| bool gk::Window::isOpen |
( |
| ) |
const |
|
inline |
§ open()
| void gk::Window::open |
( |
const std::string & |
caption, |
|
|
u16 |
width, |
|
|
u16 |
height |
|
) |
| |
§ setVerticalSyncEnabled()
| void gk::Window::setVerticalSyncEnabled |
( |
bool |
enabled | ) |
|
§ window()
| SDL_Window* gk::Window::window |
( |
| ) |
const |
|
inline |
§ m_context
§ m_defaultView
| View gk::Window::m_defaultView |
|
private |
§ m_isOpen
| bool gk::Window::m_isOpen |
|
private |
§ m_size
§ m_window
The documentation for this class was generated from the following files: