19 #if !defined(__MITSUBA_HW_NSGLRENDERER_H_)
20 #define __MITSUBA_HW_NSGLRENDERER_H_
26 #include <Cocoa/Cocoa.h>
54 void *lookupExtension(const std::
string &name) const;
57 NSOpenGLContext *m_context;
A MacOS X (NSGL) OpenGL Renderer.
Definition: nsglrenderer.h:34
virtual void init(Device *device, Renderer *other=NULL)
Initialize the renderer.
A MacOS X (NSGL) windowing environment session.
Definition: nsglsession.h:29
An abstract drawing device.
Definition: device.h:136
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
void * getContext()
Return the rendering context.
Definition: nsglrenderer.h:46
Abstract renderer implementation.
Definition: renderer.h:79
virtual void shutdown()
Shut the renderer down.
OpenGL implementation of the Renderer interface.
Definition: glrenderer.h:43