Docs @ Psychtoolbox Wiki : EndOpenGL

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Screen('EndOpenGL')

PsychtoolboxScreen.{mex*,dll} subfunction

Usage
Screen('EndOpenGL', windowPtr);

Finish OpenGL rendering by external OpenGL code into window 'windowPtr'. This is
the counterpart to Screen('BeginOpenGL'). Whenever you used
Screen('BeginOpenGL') to enable external OpenGL drawing from Matlab, you *must*
call Screen('EndOpenGL') when you're finished with a window, either because you
want to draw into a different window, or you want to use a Screen command.
Psychtoolbox will abort your script if you omit this command.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0612 seconds