cinder::app::RendererGl Class Reference
#include <Renderer.h>
Inherits cinder::app::Renderer.
List of all members.
Public Types |
enum | {
AA_NONE = 0,
AA_MSAA_2,
AA_MSAA_4,
AA_MSAA_6,
AA_MSAA_8,
AA_MSAA_16,
AA_MSAA_32
} |
Public Member Functions |
| RendererGl () |
| RendererGl (int aAntiAliasing) |
| ~RendererGl () |
virtual void | setup (App *aApp, CGRect frame, NSView *cinderView) |
virtual CGLContextObj | getCglContext () |
virtual CGLPixelFormatObj | getCglPixelFormat () |
virtual void | setup (App *aApp, const Area &frame, UIView *cinderView) |
virtual bool | isEaglLayer () const |
virtual void | setFrameSize (int width, int height) |
virtual void | makeCurrentContext () |
virtual void | setup (App *aApp, HWND wnd, HDC dc) |
virtual void | kill () |
virtual HWND | getHwnd () |
virtual void | prepareToggleFullScreen () |
virtual void | finishToggleFullScreen () |
void | setAntiAliasing (int aAntiAliasing) |
int | getAntiAliasing () const |
virtual void | startDraw () |
virtual void | finishDraw () |
virtual void | defaultResize () |
virtual Surface | copyWindowSurface (const Area &area) |
virtual CGContextRef | getCgContext () |
virtual HDC | getDc () |
Static Public Attributes |
static const int | sAntiAliasingSamples [] = { 0, 2, 4, 6, 8, 16, 32 } |
Protected Attributes |
int | mAntiAliasing |
AppImplCocoaRendererGl * | mImpl |
AppImplCocoaTouchRendererGl * | mImpl |
class AppImplMswRendererGl * | mImpl |
HWND | mWnd |
class App * | mApp |
Member Enumeration Documentation
- Enumerator:
AA_NONE |
|
AA_MSAA_2 |
|
AA_MSAA_4 |
|
AA_MSAA_6 |
|
AA_MSAA_8 |
|
AA_MSAA_16 |
|
AA_MSAA_32 |
|
Constructor & Destructor Documentation
cinder::app::RendererGl::RendererGl |
( |
|
) |
|
cinder::app::RendererGl::RendererGl |
( |
int |
aAntiAliasing |
) |
|
cinder::app::RendererGl::~RendererGl |
( |
|
) |
|
Member Function Documentation
void cinder::app::RendererGl::setup |
( |
App * |
aApp, |
|
|
CGRect |
frame, |
|
|
NSView * |
cinderView | |
|
) |
| | [virtual] |
CGLContextObj cinder::app::RendererGl::getCglContext |
( |
|
) |
[virtual] |
CGLPixelFormatObj cinder::app::RendererGl::getCglPixelFormat |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::setup |
( |
App * |
aApp, |
|
|
const Area & |
frame, |
|
|
UIView * |
cinderView | |
|
) |
| | [virtual] |
virtual bool cinder::app::RendererGl::isEaglLayer |
( |
|
) |
const [virtual] |
void cinder::app::RendererGl::setFrameSize |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | [virtual] |
void cinder::app::RendererGl::makeCurrentContext |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::setup |
( |
App * |
aApp, |
|
|
HWND |
wnd, |
|
|
HDC |
dc | |
|
) |
| | [virtual] |
void cinder::app::RendererGl::kill |
( |
|
) |
[virtual] |
virtual HWND cinder::app::RendererGl::getHwnd |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::prepareToggleFullScreen |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::finishToggleFullScreen |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::setAntiAliasing |
( |
int |
aAntiAliasing |
) |
|
int cinder::app::RendererGl::getAntiAliasing |
( |
|
) |
const |
void cinder::app::RendererGl::startDraw |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::finishDraw |
( |
|
) |
[virtual] |
void cinder::app::RendererGl::defaultResize |
( |
|
) |
[virtual] |
Surface cinder::app::RendererGl::copyWindowSurface |
( |
const Area & |
area |
) |
[virtual] |
virtual CGContextRef cinder::app::Renderer::getCgContext |
( |
|
) |
[virtual, inherited] |
virtual HDC cinder::app::Renderer::getDc |
( |
|
) |
[virtual, inherited] |
Member Data Documentation
The documentation for this class was generated from the following files: