OpenGL-2.2.1.1: A binding for the OpenGL graphics system

Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de

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

Methods

withNewPolygonStipple :: (Ptr GLubyte -> IO ()) -> IO s

withPolygonStipple :: s -> (Ptr GLubyte -> IO a) -> IO a

newPolygonStipple :: [GLubyte] -> IO s

getPolygonStippleComponents :: s -> IO [GLubyte]

data PolygonMode

Constructors

Point 
Line 
Fill 

Instances