Safe Haskell | None |
---|---|
Language | Haskell2010 |
- enableDepthTest :: MonadIO m => m ()
- disableDepthTest :: MonadIO m => m ()
- clearDepthBuffer :: MonadIO m => m ()
Documentation
enableDepthTest :: MonadIO m => m () 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 :: MonadIO m => m () Source
Disable the depth test and depth buffer updates.
clearDepthBuffer :: MonadIO m => m () Source
Clear the depth buffer with the maximum depth value.