ScopedDepthWrite /

#includecinder/gl/scoped.h

Scopes state to control whether successful depth tests write to the depth buffer. See information on glDepthMask() .

You must enable depth testing / reading ( GL_DEPTH_TEST ) for this to take place.


Public Member Functions