GLUT-2.4.0.0: A binding for the OpenGL Utility Toolkit

Portabilityportable
Stabilityprovisional
Maintainersven.panne@aedion.de
Safe HaskellNone

Graphics.UI.GLUT.Raw.APIEntry

Description

This is a purely internal module for handling an OpenGL-like extension mechanism for GLUT.

Synopsis

Documentation

type Invoker a = FunPtr a -> aSource

getAPIEntry :: String -> IO (FunPtr a)Source

Retrieve a GLUT API entry by name. Throws a userError when no entry with the given name was found.

getAPIEntryInternal :: String -> IO (FunPtr a)Source

data FunPtr a

Instances

Eq (FunPtr a) 
Ord (FunPtr a) 
Show (FunPtr a) 
Storable (FunPtr a) 

unsafePerformIO :: IO a -> a