core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

s_alpha.h File Reference

#include "s_context.h"

Functions

GLint _swrast_alpha_test (const GLcontext *ctx, SWspan *span)
 Perform the alpha test for an array of pixels.


Function Documentation

GLint _swrast_alpha_test ( const GLcontext ctx,
SWspan span 
)

Perform the alpha test for an array of pixels.

For pixels that fail the test, mask[i] will be set to 0.

Returns:
0 if all pixels in the span failed the alpha test, 1 if one or more pixels passed the alpha test.


Generated on Sun Sep 27 06:48:05 2009 for Mesa Software Rasterization (swrast) by  doxygen 1.5.4