GLES20.GlBindAttribLocation(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 a named vertex attribute's index for the program's next link.
[Android.Runtime.Register("glBindAttribLocation", "(IILjava/lang/String;)V", "")]
public static void GlBindAttribLocation(int program, int index, string? name);
[<Android.Runtime.Register("glBindAttribLocation", "(IILjava/lang/String;)V", "")>]
static member GlBindAttribLocation : int * int * string -> unit
Parameters
- program
- Int32
The program object's unsigned name bit pattern.
- index
- Int32
The zero-based attribute index, less than GL_MAX_VERTEX_ATTRIBS; a matrix occupies consecutive indices.
- name
- String
The non-null attribute name, converted through JNI string encoding; reserved gl_ names cannot be bound.
- 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.