File: kPsychSinkIsMSAACapable.m

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (14 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function rval = kPsychSinkIsMSAACapable
% rval = kPsychSinkIsMSAACapable
%
% Return a flag that you can pass to the 'imagingmode' parameter of
% Screen('OpenWindow') together with the 'kPsychNeedFinalizedFBOSinks'
% flag. If this kPsychSinkIsMSAACapable flag is given then the
% OpenGL framebuffer objects which are created and attached as final
% output image sinks due to the 'kPsychNeedFinalizedFBOSinks' flag will
% be allowed to have GL_TEXTURE_2D_MULTISAMPLE textures as color attachments,
% and thereby as final target of the output images. Iow., the sink can
% handle multisampled textures.
%
rval = 2^22;
return