% Psychtoolbox:PsychAlphaBlending % % help Psychtoolbox % For an overview, triple-click me & hit enter. % help PsychDemos % For demos, triple-click me & hit enter. % % AlphaBlend - Simulate Alpha blending % AlphaDestinationTerm - Find destination surface term of alpha sum % AlphaSourceTerm - Find source surface term of alpha sum % AlphaSum - Sum destination, source alpha terms and clamp % AlphaTimes - Mulitply alpha factor by image matrix. % GL_DST_ALPHA - Blending factor for Screen('BlendingFunction') % GL_DST_COLOR - Blending factor for Screen('BlendingFunction') % GL_ONE_MINUS_DST_ALPHA - Blending factor for Screen('BlendingFunction') % GL_ONE_MINUS_DST_COLOR - Blending factor for Screen('BlendingFunction') % GL_ONE_MINUS_SRC_ALPHA - Blending factor for Screen('BlendingFunction') % GL_ONE_MINUS_SRC_COLOR - Blending factor for Screen('BlendingFunction') % GL_ONE - Blending factor for Screen('BlendingFunction') % GL_SRC_ALPHA_SATURATE - Blending factor for Screen('BlendingFunction') % GL_SRC_ALPHA - Blending factor for Screen('BlendingFunction') % GL_SRC_COLOR - Blending factor for Screen('BlendingFunction') % GL_ZERO - Blending factor for Screen('BlendingFunction') % MaskImageIn - Set image matrix alpha plane to include content % MaskImageOut - Set image matrix alpha plane to exclude content % SetDestinationAlpha - Place destination alpha layer into an image matrix % SetImageAlpha - Set image matrix alpha plane to a scalar % SetSourceAlpha - Place source alpha layer into an image matrix