Język

GLES20.GlGetString(Int32) Method

Definition

Gets a string describing the current GL implementation or shading-language version.

[Android.Runtime.Register("glGetString", "(I)Ljava/lang/String;", "")]
public static string? GlGetString(int name);
[<Android.Runtime.Register("glGetString", "(I)Ljava/lang/String;", "")>]
static member GlGetString : int -> string

Parameters

name
Int32

GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS.

Returns

The selected implementation string, or null when GL supplies no string; GL_EXTENSIONS is a space-separated list.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to