Vuo  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | List of all members
VuoWindowRecorder Class Reference

Description

Manages recording the contents of a VuoWindowOpenGL.

Instance Methods

(instancetype) - initWithWindow:url:
 Creates a record manager.
 
(void) - captureImageOfContext:
 Captures the current content of cgl_ctx and appends it to the movie file.
 
(void) - finish
 Blocks until the movie file has been finalized.
 

Method Documentation

- (void) captureImageOfContext: (CGLContextObj)  cgl_ctx

Captures the current content of cgl_ctx and appends it to the movie file.

If necessary, you should lock the context sometime before calling this method, and unlock it sometime after.

This function may be called from any thread.

- (void) finish

Blocks until the movie file has been finalized.

This function may be called from any thread.

Todo:
Replace with -finishWritingWithCompletionHandler: when we drop Mac OS 10.8 support.
- (instancetype) initWithWindow: (VuoWindowOpenGLInternal *)  window
url: (NSURL *)  url 

Creates a record manager.

This function may be called from any thread.


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