C# Class Tao.Platform.X11.Glx

GLX (OpenGL XWindow Extensions) binding for .NET, implementing GLX 1.4.

Binds functions and definitions in libGL.so.

The OpenGL XWindow Extensions (GLX) library contains several groups of functions that complement the core OpenGL interface by providing integration with XWindows.

These utility functions make use of core OpenGL functions, so any OpenGL implementation is guaranteed to support the utility functions.

Mostra file Open project: WolfgangSt/axiom

Public Methods

Method Description
glXChooseVisual ( IntPtr dpy, int screen, int attrib ) : IntPtr

glXGetConfig ( IntPtr dpy, IntPtr vis, int attrib, int val ) : int

Private Methods

Method Description
glXChooseFBConfig ( IntPtr dpy, int screen, int attrib_list, int nelements ) : IntPtr
glXChooseVisual ( IntPtr dpy, int screen, IntPtr attriblist ) : IntPtr
glXCopyContext ( IntPtr dpy, IntPtr src, IntPtr dst, ulong mask ) : void
glXCreateContext ( IntPtr dpy, IntPtr vis, IntPtr shareList, bool direct ) : IntPtr
glXCreateGLXPixmap ( IntPtr dpy, IntPtr vis, IntPtr pixmap ) : IntPtr
glXCreateNewContext ( IntPtr dpy, IntPtr config, int render_type, IntPtr share_list, bool direct ) : IntPtr
glXCreatePbuffer ( IntPtr dpy, IntPtr config, int attrib_list ) : IntPtr
glXCreatePixmap ( IntPtr dpy, IntPtr config, IntPtr pixmap, int attrib_list ) : int
glXCreateWindow ( IntPtr dpy, IntPtr config, int win, int attrib_list ) : int
glXDestroyContext ( IntPtr dpy, IntPtr context ) : void
glXDestroyGLXPixmap ( IntPtr dpy, IntPtr pix ) : void
glXDestroyPbuffer ( IntPtr dpy, IntPtr pbuf ) : void
glXDestroyPixmap ( IntPtr dpy, int pixmap ) : void
glXDestroyWindow ( IntPtr dpy, int win ) : void
glXFreeContextEXT ( IntPtr dpy, IntPtr ctx ) : void
glXGetClientString ( IntPtr dpy, int name ) : string
glXGetConfig ( IntPtr dpy, IntPtr vis, int attrib, IntPtr value ) : int
glXGetContextIDEXT ( IntPtr ctx ) : int
glXGetCurrentContext ( ) : IntPtr
glXGetCurrentDisplay ( ) : IntPtr
glXGetCurrentDisplayEXT ( ) : IntPtr
glXGetCurrentDrawable ( ) : IntPtr
glXGetCurrentReadDrawable ( ) : IntPtr
glXGetFBConfigAttrib ( IntPtr dpy, IntPtr config, int attribute, int value ) : int
glXGetFBConfigs ( IntPtr dpy, int screen, int nelements ) : IntPtr
glXGetProcAddressARB ( [ procName ) : IntPtr
glXGetSelectedEvent ( IntPtr dpy, IntPtr draw, ulong event_mask ) : void
glXGetVisualFromFBConfig ( IntPtr dpy, IntPtr config ) : IntPtr
glXImportContextEXT ( IntPtr dpy, int contextID ) : IntPtr
glXIsDirect ( IntPtr dpy, IntPtr ctx ) : bool
glXMakeContextCurrent ( IntPtr display, IntPtr draw, IntPtr read, IntPtr ctx ) : bool
glXMakeCurrent ( IntPtr display, IntPtr drawable, IntPtr context ) : bool
glXQueryContext ( IntPtr dpy, IntPtr ctx, int attribute, int value ) : int
glXQueryContextInfoEXT ( IntPtr dpy, IntPtr ctx, int attribute, int value ) : int
glXQueryDrawable ( IntPtr dpy, IntPtr draw, int attribute, uint value ) : void
glXQueryExtension ( IntPtr dpy, IntPtr errorBase, IntPtr eventBase ) : bool
glXQueryExtension ( IntPtr dpy, int errorBase, int eventBase ) : bool
glXQueryExtensionsString ( IntPtr dpy, int screen ) : string
glXQueryServerString ( IntPtr dpy, int screen, int name ) : string
glXQueryVersion ( IntPtr dpy, IntPtr major, IntPtr minor ) : bool
glXQueryVersion ( IntPtr dpy, int major, int minor ) : bool
glXSelectEvent ( IntPtr dpy, IntPtr draw, ulong event_mask ) : void
glXSwapBuffers ( IntPtr display, IntPtr drawable ) : void
glXUseXFont ( IntPtr font, int first, int count, int listBase ) : void
glXWaitGL ( ) : void
glXWaitX ( ) : void
glxGetProcAddress ( [ procName ) : IntPtr

Method Details

glXChooseVisual() public static method

public static glXChooseVisual ( IntPtr dpy, int screen, int attrib ) : IntPtr
dpy System.IntPtr
screen int
attrib int
return System.IntPtr

glXGetConfig() public static method

public static glXGetConfig ( IntPtr dpy, IntPtr vis, int attrib, int val ) : int
dpy System.IntPtr
vis System.IntPtr
attrib int
val int
return int