The QTPlgMovieVideoPlayOpenGL class, derived from the class, allows you to create a QTOpenGLTextureContext context and associate it to a movie for playback.
The QTPlgMovieVideoPlayOpenGL class requires QuickTime 7.0 or later and MacOS X. This not being the case, a QTPlgMovieVideoPlayOpenGL object behaves exactly like a object.
→ → → →
The QTPlgMovieVideoPlayOpenGL class constructors are called when you create a new instance of the class, while the ˜QTPlgMovieVideoPlayOpenGL class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
The class provides you with the following initializer methods:
(m as )
this constructor tries to create a video presentation context for the movie specified by the m ; the
class makes a copy of the source movie, so you can safely dispose of it as soon as it is more convenient
for you. On the other hand, this implies that, any change done to the source movie does not affect the movie retained
by the presentation context; instead you can use the
class property to
modify the source movie. If the movie does not contain any video track, the method fails and the new class instance
determines if the current mixture of hardware and system characteristics can provide support for accelerated full–screen playback