| Copyright | (c) Sven Panne 2002-2016 | 
|---|---|
| License | BSD3 | 
| Maintainer | Sven Panne <svenpanne@gmail.com> | 
| Stability | stable | 
| Portability | portable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Graphics.Rendering.OpenGL.GL.Polygons
Description
This module corresponds to section 3.5 (Polygons) of the OpenGL 2.1 specs.
Documentation
class PolygonStipple s where Source #
Methods
withNewPolygonStipple :: (Ptr GLubyte -> IO ()) -> IO s Source #
withPolygonStipple :: s -> (Ptr GLubyte -> IO a) -> IO a Source #
newPolygonStipple :: [GLubyte] -> IO s Source #
getPolygonStippleComponents :: s -> IO [GLubyte] Source #
Instances
data GLpolygonstipple Source #
polygonStipple :: PolygonStipple s => StateVar (Maybe s) Source #
data PolygonMode Source #
Instances