SoGLExtensionGetExtID Method |
Methods to quickly figure out if an OpenGL extension is available at run-time.
Namespace: OIV.Inventor.DevicesAssembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static int GetExtID(
string str
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Shared Function GetExtID (
str As String
) As Integer
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
static int GetExtID(
String^ str
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member GetExtID :
str : string -> int
Parameters
- str
- Type: SystemString
Return Value
Type:
Int32Remarks This is the slow routine convert from a string to an integer. The integer should be saved to do quick lookups:
See Also