GL.GetString GL.GetString Method

Definition

Overloads

GetString(StringName) GetString(StringName)
GetString(StringName, Int32) GetString(StringName, Int32)
GetString(StringName, UInt32) GetString(StringName, UInt32)
GetString(StringNameIndexed, Int32) GetString(StringNameIndexed, Int32)
GetString(StringNameIndexed, UInt32) GetString(StringNameIndexed, UInt32)

GetString(StringName) GetString(StringName)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetString", Version="3.0")]
[System.CLSCompliant(false)]
public static string GetString (OpenTK.Graphics.ES30.StringName name);
static member GetString : OpenTK.Graphics.ES30.StringName -> string

Parameters

Returns

GetString(StringName, Int32) GetString(StringName, Int32)

Warning

This API is now obsolete.

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetStringi", Version="3.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static string GetString (OpenTK.Graphics.ES30.StringName name, int index);
static member GetString : OpenTK.Graphics.ES30.StringName * int -> string

Parameters

index
Int32 Int32

Returns

GetString(StringName, UInt32) GetString(StringName, UInt32)

Warning

This API is now obsolete.

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetStringi", Version="3.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static string GetString (OpenTK.Graphics.ES30.StringName name, uint index);
static member GetString : OpenTK.Graphics.ES30.StringName * uint32 -> string

Parameters

index
UInt32 UInt32

Returns

GetString(StringNameIndexed, Int32) GetString(StringNameIndexed, Int32)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetStringi", Version="3.0")]
[System.CLSCompliant(false)]
public static byte GetString (OpenTK.Graphics.ES30.StringNameIndexed name, int index);
static member GetString : OpenTK.Graphics.ES30.StringNameIndexed * int -> byte

Parameters

index
Int32 Int32

Returns

GetString(StringNameIndexed, UInt32) GetString(StringNameIndexed, UInt32)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetStringi", Version="3.0")]
[System.CLSCompliant(false)]
public static byte GetString (OpenTK.Graphics.ES30.StringNameIndexed name, uint index);
static member GetString : OpenTK.Graphics.ES30.StringNameIndexed * uint32 -> byte

Parameters

index
UInt32 UInt32

Returns

Applies to