GLES31Ext.GlObjectLabelKHR(Int32, Int32, Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns or clears a descriptive label for a named GL object.
[Android.Runtime.Register("glObjectLabelKHR", "(IIILjava/lang/String;)V", "")]
public static void GlObjectLabelKHR(int identifier, int name, int length, string? label);
[<Android.Runtime.Register("glObjectLabelKHR", "(IIILjava/lang/String;)V", "")>]
static member GlObjectLabelKHR : 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; do not exceed the encoded label size. A negative value uses the terminating zero. On Android 7.0 (API 24) and later, the wrapper passes this value to OpenGL even for a null label; the OpenGL driver may validate it. This wrapper does not validate the supplied length.
- label
- String
The label text, encoded through JNI. On Android 7.0 (API 24) and later, null removes the object's label. On Android 5.0 through 6.0 (API 21 through 23), null causes a Java.Lang.IllegalArgumentException.
- 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.