NRE::Graphics::GraphicsDriver Class Reference

Manage the os-dependant graphics driver. More...

#include <NRE_GraphicsDriver.hpp>

Inheritance diagram for NRE::Graphics::GraphicsDriver:

Public Member Functions

 GraphicsDriver (GraphicsDriver &&drv)=delete
 
 ~GraphicsDriver ()
 
void registerWindow (NativeWindowType window, Id id)
 
void unregisterWindow (NativeWindowType window)
 
Id findId (NativeWindowType window) const
 
GraphicsDriveroperator= (GraphicsDriver &&drv)=delete
 

Detailed Description

Manage the os-dependant graphics driver.

Constructor & Destructor Documentation

NRE::Graphics::GraphicsDriver::GraphicsDriver ( GraphicsDriver &&  drv)
delete

Move forbidden

Parameters
drvthe graphics driver to move
NRE::Graphics::GraphicsDriver::~GraphicsDriver ( )

GraphicsDriver Deconstructor

Member Function Documentation

Id NRE::Graphics::GraphicsDriver::findId ( NativeWindowType  window) const

Find the window id associated with the given window

Parameters
windowthe window to retrive the id
Returns
the corresponding id
GraphicsDriver& NRE::Graphics::GraphicsDriver::operator= ( GraphicsDriver &&  drv)
delete

Move forbidden

Parameters
drvthe object to move into this
Returns
the reference of himself
void NRE::Graphics::GraphicsDriver::registerWindow ( NativeWindowType  window,
Id  id 
)

Register a window into the driver

Parameters
windowthe window to store
idthe window id
void NRE::Graphics::GraphicsDriver::unregisterWindow ( NativeWindowType  window)

Unregister a window from the driver

Parameters
windowthe window to remove

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