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')]]===
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')]]===
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