OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
SDLUtil Namespace Reference

Classes

struct  MouseMotionEvent
 
class  MouseListener
 
class  KeyListener
 
class  ControllerListener
 
class  WindowListener
 
class  SDLCursorManager
 
class  GraphicsWindowSDL2
 
class  InputWrapper
 A wrapper around SDL's event queue, mostly used for handling input-related events. More...
 
class  VideoWrapper
 

Functions

SDL_Surface * imageToSurface (osg::Image *image, bool flip)
 

Function Documentation

SDL_Surface * SDLUtil::imageToSurface ( osg::Image *  image,
bool  flip = false 
)

Convert an osg::Image to an SDL_Surface.

Note
The returned surface must be freed using SDL_FreeSurface.

Here is the caller graph for this function: