Flow Visualisation
|
OpenGL / SDL Renderer. More...
#include <SDLRenderer.h>
Public Member Functions | |
virtual void | createWindow (int screenWidth=STANDARD_SCREEN_WIDTH, int screenHeight=STANDARD_SCREEN_HEIGHT) |
Create a new window with specified sized. More... | |
virtual void | initRenderer () |
Initializes Renderer. More... | |
virtual void | clear () |
Clears screen buffer. More... | |
virtual void | swapBuffers () |
Swaps buffers;. More... | |
virtual | ~SDLRenderer () |
Virtual descructor to clean up renderer. More... | |
Public Member Functions inherited from IRenderer | |
virtual | ~IRenderer () |
Virtual descructor to clean up. More... | |
Additional Inherited Members | |
Protected Attributes inherited from IRenderer | |
int | m_screenWidth |
int | m_screenHeight |
OpenGL / SDL Renderer.
This class uses the SDL library to create a window and OpenGL context.
|
virtual |
Virtual descructor to clean up renderer.
|
virtual |
Clears screen buffer.
Implements IRenderer.
|
virtual |
Create a new window with specified sized.
screenWidth | Width of the window |
screenHeight | Height of the window |
Implements IRenderer.
|
virtual |
Initializes Renderer.
Implements IRenderer.
|
virtual |
Swaps buffers;.
Implements IRenderer.