Język

GLES20.GlBindBuffer(Int32, Int32) Method

Definition

Binds a buffer object to a supported buffer target.

[Android.Runtime.Register("glBindBuffer", "(II)V", "")]
public static void GlBindBuffer(int target, int buffer);
[<Android.Runtime.Register("glBindBuffer", "(II)V", "")>]
static member GlBindBuffer : int * int -> unit

Parameters

target
Int32

GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, or another target supported by the current context.

buffer
Int32

The unsigned buffer-name bit pattern; zero clears the target's binding.

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