# G3X_AlphaTest

## C Specification

      #include <nitro/gx/g3x.h>

        void G3X_AlphaTest(BOOL enable, int ref);

## Description

This function controls the α-test. When `enable` is not `FALSE`, the α value of the fragment after texture blending is compared to `ref`. The fragment is not rendered if it is less than the set value. When `enable` is `FALSE`, α testing does not occur.

## Arguments

`enable` | Sets whether α-test occurs
`ref` | When the α-test is performed, pixels where α<=`ref` will not be rendered

## Return Values

None

## See Also

## Revision History

01/19/2004 Initial Version