|
VuoWindowOpenGLInternal * | glWindow |
| The parent window; allows the view to access it while full-screen.
|
|
NSOpenGLContext * | windowedGlContext |
| The OpenGL context from Vuo's context pool; allows the windw to access it while the view is full-screen.
|
|
Stops the view from calling trigger functions.
This function may be called from any thread.
Sets up the view to call trigger functions.
This function may be called from any thread.
Schedules the OpenGL view to be redrawn.
This can be used in both windowed and full-screen mode.
This function may be called from any thread.
- (void) toggleFullScreen |
|
|
|
Switches between full-screen and windowed mode.
This function may only be called on the main thread.
- (bool) callerRequestedRedraw |
|
protected |
True if an external caller (i.e., not resize or toggleFullScreen) requested that the GL view be redrawn.
- (dispatch_queue_t) clickQueue |
|
protected |
Queue for processing mouse button clicks.
Handles redrawing at the display refresh rate. Only draws if callerRequestedRedraw
.
Draws onto the OpenGL context.
Argument to pass to callbacks (e.g. node instance data).
- (dispatch_queue_t) drawQueue |
|
protected |
Queue to ensure that multiple threads don't attempt to draw to the same window simultaneously.
Trigger function, fired when the mouse moves.
- (int) pendingClickCount |
|
protected |
The number of clicks elapsed so far.
- (void(* resizeCallback)(VuoGlContext glContext, void *, unsigned int width, unsigned int height)) |
|
protected |
Updates the OpenGL context when the view is resized.
Trigger function, fired when the mouse is scrolled.
- (bool) togglingFullScreen |
|
protected |
If true, code that requires drawQueue will be skipped (to avoid deadlock).
Trigger function, fired when a mouse button is used.
The parent window; allows the view to access it while full-screen.
- (NSOpenGLContext*) windowedGlContext |
|
readwriteatomicretain |
The OpenGL context from Vuo's context pool; allows the windw to access it while the view is full-screen.
The documentation for this class was generated from the following files: