lowgl-0.3.1.1: Basic gl wrapper and reference

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Low.Depth

Synopsis

Documentation

enableDepthTest :: IO () Source

Enable the depth test. Attempting to render pixels with a depth value greater than the depth buffer at those pixels will have no effect. Otherwise the depth in the buffer will get updated to the new pixel's depth.

disableDepthTest :: IO () Source

Disable the depth test and depth buffer updates.

clearDepthBuffer :: IO () Source

Clear the depth buffer with the maximum depth value.