Modifica

Condividi tramite


GL.GetString Method

Definition

Overloads

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

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

name
StringName

Returns

Attributes

Applies to

GetString(StringName, Int32)

Caution

Use the overload with strongly typed enumerations

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

name
StringName
index
Int32

Returns

Attributes

Applies to

GetString(StringName, UInt32)

Caution

Use the overload with strongly typed enumerations

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

name
StringName
index
UInt32

Returns

Attributes

Applies to

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

Returns

Attributes

Applies to

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

Returns

Attributes

Applies to