HOpenGL Libraries (OpenGL package)Source codeContentsIndex
Graphics.Rendering.OpenGL.GL.Polygons
Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Description
This module corresponds to section 3.5 (Polygons) of the OpenGL 2.1 specs.
Documentation
polygonSmooth :: StateVar Capability
cullFace :: StateVar (Maybe Face)
class PolygonStipple s where
Methods
withNewPolygonStipple :: (Ptr GLubyte -> IO ()) -> IO s
withPolygonStipple :: s -> (Ptr GLubyte -> IO a) -> IO a
newPolygonStipple :: [GLubyte] -> IO s
getPolygonStippleComponents :: s -> IO [GLubyte]
show/hide Instances
data GLpolygonstipple
show/hide Instances
polygonStipple :: PolygonStipple s => StateVar (Maybe s)
data PolygonMode
Constructors
Point
Line
Fill
show/hide Instances
polygonMode :: StateVar (PolygonMode, PolygonMode)
polygonOffset :: StateVar (GLfloat, GLfloat)
polygonOffsetPoint :: StateVar Capability
polygonOffsetLine :: StateVar Capability
polygonOffsetFill :: StateVar Capability
Produced by Haddock version 0.8