NAME

glDepthMask - enable or disable writing into the depth buffer

C SPECIFICATION

void ggllDDeepptthhMMaasskk( GLboolean _f_l_a_g )

        

PARAMETERS

_f_l_a_g
Specifies whether the depth buffer is enabled for writing. If _f_l_a_g is GGLL__FFAALLSSEE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.

DESCRIPTION

ggllDDeepptthhMMaasskk specifies whether the depth buffer is enabled for writing. If _f_l_a_g is GGLL__FFAALLSSEE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.

ERRORS

GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllDDeepptthhMMaasskk is executed between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd.

ASSOCIATED GETS

ggllGGeett with argument GGLL__DDEEPPTTHH__WWRRIITTEEMMAASSKK

SEE ALSO

ggllCCoolloorrMMaasskk((33GG)), ggllDDeepptthhFFuunncc((33GG)), ggllDDeepptthhRRaannggee((33GG)), ggllIInnddeexxMMaasskk((33GG)), ggllSStteenncciillMMaasskk((33GG))