C# Class Tao.OpenGl.GlExtensionLoader

Exibir arquivo Open project: WolfgangSt/axiom

Private Properties

Property Type Description
GetContextInfo GlContextInfo
GlExtensionLoader System
NSAddressOfSymbol System.IntPtr
NSIsSymbolNameDefined bool
NSLookupAndBindSymbol System.IntPtr
aglGetProcAddress System.IntPtr
glGetString System.IntPtr
glxGetProcAddress System.IntPtr
glxGetProcAddressARB System.IntPtr
wglGetProcAddress System.IntPtr

Public Methods

Method Description
GetProcAddress ( string s ) : IntPtr

IsExtensionSupported ( object contextGl, string extname ) : bool

Returns true if the extension with the given name is supported in the given context.

IsExtensionSupported ( string extname ) : bool

Returns trueif the extension with the given name is supported in the global static context.

LoadAllExtensions ( ) : void

LoadAllExtensions ( object contextGl ) : void

LoadExtension ( object contextGl, string extname ) : bool

LoadExtension ( object contextGl, string extname, bool forceLoad ) : bool

LoadExtension ( string extname ) : bool

Attempt to load the extension with the specified name into the global static context. Returns true on success.

Private Methods

Method Description
GetContextInfo ( object ctx ) : GlContextInfo
GlExtensionLoader ( ) : System
NSAddressOfSymbol ( IntPtr symbol ) : IntPtr
NSIsSymbolNameDefined ( string s ) : bool
NSLookupAndBindSymbol ( string s ) : IntPtr
aglGetProcAddress ( string s ) : IntPtr
glGetString ( uint name ) : IntPtr
glxGetProcAddress ( string s ) : IntPtr
glxGetProcAddressARB ( string s ) : IntPtr
wglGetProcAddress ( string s ) : IntPtr

Method Details

GetProcAddress() public static method

public static GetProcAddress ( string s ) : IntPtr
s string
return System.IntPtr

IsExtensionSupported() public static method

Returns true if the extension with the given name is supported in the given context.
public static IsExtensionSupported ( object contextGl, string extname ) : bool
contextGl object The context which to query.
extname string The extension name.
return bool

IsExtensionSupported() public static method

Returns trueif the extension with the given name is supported in the global static context.
public static IsExtensionSupported ( string extname ) : bool
extname string The extension name.
return bool

LoadAllExtensions() public static method

public static LoadAllExtensions ( ) : void
return void

LoadAllExtensions() public static method

public static LoadAllExtensions ( object contextGl ) : void
contextGl object
return void

LoadExtension() public static method

public static LoadExtension ( object contextGl, string extname ) : bool
contextGl object
extname string
return bool

LoadExtension() public static method

public static LoadExtension ( object contextGl, string extname, bool forceLoad ) : bool
contextGl object
extname string
forceLoad bool
return bool

LoadExtension() public static method

Attempt to load the extension with the specified name into the global static context. Returns true on success.
public static LoadExtension ( string extname ) : bool
extname string The extension name.
return bool