Docs @ Psychtoolbox Wiki : WindowKind

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [9191]

Last edited on 2008-11-05 06:19:13 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[WindowKind Screen('WindowKind')]]===
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[WindowKind Screen('WindowKind')]]===


Revision [7076]

Edited on 2008-07-10 16:12:45 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[WindowKind Screen('WindowKind')]]===
""</div>""
Deletions:
===[[WindowKind Screen('WindowKind')]]===


Revision [5017]

Edited on 2008-04-26 21:31:51 by DocBot
Additions:
===[[WindowKind Screen('WindowKind')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)kind=Screen(windowPtr, 'WindowKind');%%
What kind of windowPtr is this? Returns 0 if it's invalid, -1 an offscreen
window or a normal texture, 1 our onscreen, 2 Matlab's onscreen, 3 a
non-redrawable texture, 4 a proxy window. "windowPtr" can be an array of window
pointers, eg [[Screen]]([[Screen]]('Windows'),'WindowKind'). To count [[Screen]]'s onscreen
windows, do this: sum(1""==""[[Screen]]([[Screen]]('Windows'),'WindowKind')).
Please note that the current PTB doesn't have textures of type '3', i.e. all
textures are also useable as offscreen windows and vice versa. Also, it is not
possible to refer to the Matlab window itself in Psychtoolbox-3 so won't every
encounter the value '2' - it only exists for backwards compatibility with old
Psychtoolboxes.
Deletions:
===[[WindowKind]]===
==ScreenFunctions==
Usage:
kind=Screen(windowPtr, 'WindowKind');
What kind of windowPtr is this? Returns 0 if it's invalid, -1 our offscreen, 1
our onscreen, 2 Matlab's onscreen, 3 a texture, 4 a proxy window. "windowPtr"
can be an array of window pointers, eg Screen(Screen('Windows'),'WindowKind').
To count Screen's onscreen windows, do this:
sum(1==Screen(Screen('Windows'),'WindowKind')).
ScreenFunctions


Revision [2574]

The oldest known version of this page was created on 2008-03-15 23:19:31 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0172 seconds