Safe Haskell | None |
---|---|
Language | Haskell2010 |
- enableDepthTest :: IO ()
- disableDepthTest :: IO ()
- clearDepthBuffer :: IO ()
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.