Rasterfarm-SDK
Loading...
Searching...
No Matches
SDL2Window Class Reference

#include <sdl2window.h>

Public Member Functions

 SDL2Window (const UintRectangle &rect)
 
 ~SDL2Window ()
 
SDL_Window * getWindow ()
 
void swapBuffers ()
 

Static Public Member Functions

static SDL2Windowinstance ()
 

Protected Attributes

SDL_Window * pSDLwindow
 
SDL_GLContext sdlGlContext
 
SDL_Renderer * sdlRenderer
 

Static Protected Attributes

static SDL2WindowpInstance
 

Friends

class SDL2Application
 

Constructor & Destructor Documentation

◆ SDL2Window()

SDL2Window::SDL2Window ( const UintRectangle & rect)

◆ ~SDL2Window()

SDL2Window::~SDL2Window ( )

Member Function Documentation

◆ getWindow()

SDL_Window * SDL2Window::getWindow ( )
inline

◆ instance()

static SDL2Window * SDL2Window::instance ( )
inlinestatic

◆ swapBuffers()

void SDL2Window::swapBuffers ( )

Rotate the first and last buffers in the swap-chain.

Friends And Related Symbol Documentation

◆ SDL2Application

friend class SDL2Application
friend

Member Data Documentation

◆ pInstance

SDL2Window* SDL2Window::pInstance
staticprotected

◆ pSDLwindow

SDL_Window* SDL2Window::pSDLwindow
protected

◆ sdlGlContext

SDL_GLContext SDL2Window::sdlGlContext
protected

◆ sdlRenderer

SDL_Renderer* SDL2Window::sdlRenderer
protected

The documentation for this class was generated from the following file: