|
Graphics.UI.Gtk.OpenGL.Drawable | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
OpenGL rendering surface interface
|
|
Synopsis |
|
|
|
|
Class Hierarchy
|
|
| GObject
| +----GLDrawable
|
|
Types
|
|
data GLDrawable |
Instances | |
|
|
class GObjectClass o => GLDrawableClass o |
| Instances | |
|
|
castToGLDrawable :: GObjectClass obj => obj -> GLDrawable |
|
toGLDrawable :: GLDrawableClass o => o -> GLDrawable |
|
Methods
|
|
glDrawableMakeCurrent |
:: GLDrawableClass self | | => self | | -> GLContext | | -> IO Bool | returns True if it is successful, False otherwise.
| Attach an OpenGL rendering context to a GL drawable.
|
|
|
glDrawableIsDoubleBuffered |
:: GLDrawableClass self | | => self | | -> IO Bool | returns True if the double-buffered visual is supported,
False otherwise.
| Returns whether the GL drawable supports the double-buffered visual.
|
|
|
glDrawableSwapBuffers :: GLDrawableClass self => self -> IO () |
Exchange front and back buffers.
|
|
glDrawableWaitGL :: GLDrawableClass self => self -> IO () |
Complete OpenGL execution prior to subsequent Gdk drawing calls.
|
|
glDrawableWaitGdk :: GLDrawableClass self => self -> IO () |
Complete Gdk drawing execution prior to subsequent OpenGL calls.
|
|
glDrawableGLBegin |
|
|
glDrawableGLEnd :: GLDrawableClass self => self -> IO () |
Delimits the end of the OpenGL execution.
|
|
glDrawableGetGLConfig :: GLDrawableClass self => self -> IO GLConfig |
Gets GLConfig with which the GL drawable is configured.
|
|
glDrawableGetSize |
|
|
glDrawableGetCurrent |
|
|
Produced by Haddock version 0.8 |