Język

GLES32.GlObjectLabel(Int32, Int32, Int32, String) Method

Definition

Assigns or clears a descriptive label for a named GL object.

[Android.Runtime.Register("glObjectLabel", "(IIILjava/lang/String;)V", "", ApiSince=24)]
public static void GlObjectLabel(int identifier, int name, int length, string? label);
[<Android.Runtime.Register("glObjectLabel", "(IIILjava/lang/String;)V", "", ApiSince=24)>]
static member GlObjectLabel : int * int * int * string -> unit

Parameters

identifier
Int32

The object-kind token identifying the namespace of name.

name
Int32

The name of an existing GL object to label.

length
Int32

The label's JNI-encoded byte count, not its character count; a negative value uses the terminating zero. Ignored for a null label.

label
String

The label text, encoded through JNI, or null to remove the object's label.

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