Tao.OpenGl SDK Documentation |
|
Gl.GetDelegateForExtensionMethod Method
Creates a System.Delegate that can be used to call a dynamically exported OpenGL function.
[Visual Basic]
Public Shared Function GetDelegateForExtensionMethod( _
ByVal
name As
String, _
ByVal
signature As
Type _
) As
Delegate
Parameters
-
name
- The function string for the OpenGL function (eg. "glNewList")
-
signature
- The signature of the OpenGL function.
Return Value
A System.Delegate that can be used to call this OpenGL function or null if the function is not available in the current OpenGL context.
See Also
Gl Class | Tao.OpenGl Namespace