Język

GLES31.GlBindVertexBuffer(Int32, Int32, Int64, Int32) Method

Definition

Assigns a buffer range and byte stride to a vertex-buffer binding point.

[Android.Runtime.Register("glBindVertexBuffer", "(IIJI)V", "")]
public static void GlBindVertexBuffer(int bindingindex, int buffer, long offset, int stride);
[<Android.Runtime.Register("glBindVertexBuffer", "(IIJI)V", "")>]
static member GlBindVertexBuffer : int * int * int64 * int -> unit

Parameters

bindingindex
Int32

The zero-based vertex-buffer binding index.

buffer
Int32

The buffer-object name supplying vertex data, or zero to clear the binding.

offset
Int64

The non-negative starting byte offset, representable by the process's native pointer-sized offset type.

stride
Int32

The byte distance between successive elements; zero repeats the same element rather than requesting tightly packed data.

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