OpenGL-3.0.3.0: A binding for the OpenGL graphics system
Copyright(c) Sven Panne 2002-2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 #

Minimal complete definition

Nothing

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 #

polygonOffset :: StateVar (GLfloat, GLfloat) Source #