Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 3.5 (Polygons) of the OpenGL 2.1 specs.
Documentation
class PolygonStipple s where Source #
Nothing
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
PolygonStipple GLpolygonstipple Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Polygons withNewPolygonStipple :: (Ptr GLubyte -> IO ()) -> IO GLpolygonstipple Source # withPolygonStipple :: GLpolygonstipple -> (Ptr GLubyte -> IO a) -> IO a Source # newPolygonStipple :: [GLubyte] -> IO GLpolygonstipple Source # getPolygonStippleComponents :: GLpolygonstipple -> IO [GLubyte] Source # |
data GLpolygonstipple Source #
Instances
polygonStipple :: PolygonStipple s => StateVar (Maybe s) Source #
data PolygonMode Source #
Instances
Eq PolygonMode Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PolygonMode (==) :: PolygonMode -> PolygonMode -> Bool # (/=) :: PolygonMode -> PolygonMode -> Bool # | |
Ord PolygonMode Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PolygonMode compare :: PolygonMode -> PolygonMode -> Ordering # (<) :: PolygonMode -> PolygonMode -> Bool # (<=) :: PolygonMode -> PolygonMode -> Bool # (>) :: PolygonMode -> PolygonMode -> Bool # (>=) :: PolygonMode -> PolygonMode -> Bool # max :: PolygonMode -> PolygonMode -> PolygonMode # min :: PolygonMode -> PolygonMode -> PolygonMode # | |
Show PolygonMode Source # | |
Defined in Graphics.Rendering.OpenGL.GL.PolygonMode showsPrec :: Int -> PolygonMode -> ShowS # show :: PolygonMode -> String # showList :: [PolygonMode] -> ShowS # |