C# Класс Tao.OpenGl.GlExtensionLoader

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GetProcAddress() публичный статический Метод

public static GetProcAddress ( string s ) : IntPtr
s string
Результат System.IntPtr

IsExtensionSupported() публичный статический Метод

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.
Результат bool

IsExtensionSupported() публичный статический Метод

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.
Результат bool

LoadAllExtensions() публичный статический Метод

public static LoadAllExtensions ( ) : void
Результат void

LoadAllExtensions() публичный статический Метод

public static LoadAllExtensions ( object contextGl ) : void
contextGl object
Результат void

LoadExtension() публичный статический Метод

public static LoadExtension ( object contextGl, string extname ) : bool
contextGl object
extname string
Результат bool

LoadExtension() публичный статический Метод

public static LoadExtension ( object contextGl, string extname, bool forceLoad ) : bool
contextGl object
extname string
forceLoad bool
Результат bool

LoadExtension() публичный статический Метод

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.
Результат bool