Copyright | (c) Edward Kmett and Gabríel Arthúr Pétursson 2014-2016 (c) Sven Panne 2013 |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module offers a portable way to retrieve OpenGL extension entries,
providing a portability layer upon platform-specific mechanisms like
glXGetProcAddress
, wglGetProcAddress
or NSAddressOfSymbol
.
This internal module offers convenience functions and re-exports for OpenGL extension loading.
Synopsis
- getProcAddress :: String -> IO (FunPtr a)
- type Invoker a = FunPtr a -> a
- extensions :: Set String