| OpenGLRaw-1.1.0.1: A raw binding for the OpenGL graphics system | Source code | Contents | Index
Graphics.Rendering.OpenGL.Raw.GetProcAddress |
Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Description
This module offers a portable way to retrieve OpenGL extension entries, providing a portability layer upon platform-specific mechanisms like `glXGetProcAddress`, `wglGetProcAddress` or `NSAddressOfSymbol`.
Synopsis
getProcAddress :: String -> IO (FunPtr a)
getProcAddressWithSuffixes :: String -> [String] -> IO (FunPtr a)
Documentation
getProcAddress :: String -> IO (FunPtr a) | Source
Retrieve an OpenGL extension entry by name. Returns `nullFunPtr` when no extension entry with the given name was found.
getProcAddressWithSuffixes :: String -> [String] -> IO (FunPtr a) | Source
Retrieve an OpenGL extension entry by name, trying a list of name suffixes in the given order. Returns `nullFunPtr` when no extension entry with the given name plus any of the suffixes was found.
Produced by Haddock version 2.4.2