# Cinder

# AppImplCocoaRendererGl Class Reference

`#import <AppImplCocoaRendererGl.h>`

List of all members.

## Public Member Functions
(id) | - initWithFrame:cinderView:app:renderer:
(NSOpenGLView *) | - view
(void) | - makeCurrentContext
(CGLContextObj) | - getCglContext
(CGLPixelFormatObj) | - getCglPixelFormat
(void) | - flushBuffer
(void) | - setFrameSize:
(void) | - defaultResize
(BOOL) | - needsDrawRect
## Static Public Member Functions
(NSOpenGLPixelFormat *) | + defaultPixelFormat:
## Protected Attributes
AppImplCocoaTransparentGlView * | view
cinder::app::App * | app
cinder::app::RendererGl * | renderer
NSView * | cinderView

## Member Function Documentation

- (id) initWithFrame: |  | (NSRect) | frame
cinderView: |  | (NSView*) | aCinderView
app: |  | (cinder::app::App*) | aApp
renderer: |  | (cinder::app::RendererGl*) | aRenderer |

- (NSOpenGLView*) view |  |  |  |

- (void) makeCurrentContext |  |  |  |

- (CGLContextObj) getCglContext |  |  |  |

- (CGLPixelFormatObj) getCglPixelFormat |  |  |  |

- (void) flushBuffer |  |  |  |

- (void) setFrameSize: |  | (CGSize) | newSize |  |

- (void) defaultResize |  |  |  |

- (BOOL) needsDrawRect |  |  |  |

+ (NSOpenGLPixelFormat *) defaultPixelFormat: |  | (int) | antialiasLevel |  |

## Member Data Documentation

- (NSOpenGLView *) view`[protected]`

- cinder:`[protected]`

- cinder:`[protected]`

- (NSView*) cinderView`[protected]`

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

- include/cinder/app/AppImplCocoaRendererGl.h
- src/cinder/app/AppImplCocoaRendererGl.mm