Windows (WGL) windowing environment session. More...
#include <mitsuba/hw/wglsession.h>
Public Member Functions | |
WGLSession () | |
Create a new session. More... | |
void | init () |
Initialize the session. More... | |
void | shutdown () |
Shut the session down. More... | |
void | processEvents () |
Process all events and call event callbacks. More... | |
void | processEventsBlocking (bool &stop) |
Process all events and call event callbacks. More... | |
virtual const Class * | getClass () const |
Retrieve this object's class. More... | |
Public Member Functions inherited from Object | |
Object () | |
Construct a new object. More... | |
int | getRefCount () const |
Return the current reference count. More... | |
void | incRef () const |
Increase the reference count of the object by one. More... | |
void | decRef (bool autoDeallocate=true) const |
Decrease the reference count of the object and possibly deallocate it. More... | |
virtual std::string | toString () const |
Return a human-readable string representation of the object's contents. More... | |
Static Public Attributes | |
static Class * | m_theClass |
Static Public Attributes inherited from mitsuba::Session | |
static Class * | m_theClass |
Static Public Attributes inherited from Object | |
static Class * | m_theClass |
Pointer to the object's class descriptor. More... | |
Protected Member Functions | |
virtual | ~WGLSession () |
Virtual destructor. More... | |
Protected Member Functions inherited from mitsuba::Session | |
virtual | ~Session () |
Virtual destructor. More... | |
Session () | |
Create a new session. More... | |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Virtual private deconstructor. (Will only be called by ref) More... | |
Protected Attributes | |
HINSTANCE | m_hinstance |
std::string | m_wndClassName |
Protected Attributes inherited from mitsuba::Session | |
bool | m_initialized |
std::vector< Device * > | m_devices |
Friends | |
class | WGLDevice |
class | WGLRenderer |
Additional Inherited Members | |
Static Public Member Functions inherited from mitsuba::Session | |
static Session * | create () |
Create a new session using the appropriate implementation. More... | |
Static Public Member Functions inherited from Object | |
static void | staticInitialization () |
Initializes the built-in reference count debugger (if enabled) More... | |
static void | staticShutdown () |
Free the memory taken by staticInitialization() More... | |
Windows (WGL) windowing environment session.
mitsuba::WGLSession::WGLSession | ( | ) |
Create a new session.
|
protectedvirtual |
Virtual destructor.
|
virtual |
Retrieve this object's class.
Reimplemented from mitsuba::Session.
|
virtual |
Initialize the session.
Reimplemented from mitsuba::Session.
|
virtual |
Process all events and call event callbacks.
Implements mitsuba::Session.
|
virtual |
Process all events and call event callbacks.
This function will run until the stop
parameter is set to true
from within an event callback.
Implements mitsuba::Session.
|
virtual |
Shut the session down.
Reimplemented from mitsuba::Session.
|
friend |
|
friend |
|
protected |
|
static |
|
protected |