Język

GLES11.GlVertexPointer(Int32, Int32, Int32, Int32) Method

Definition

Defines a buffer-backed vertex-coordinate array.

[Android.Runtime.Register("glVertexPointer", "(IIII)V", "")]
public static void GlVertexPointer(int size, int type, int stride, int offset);
[<Android.Runtime.Register("glVertexPointer", "(IIII)V", "")>]
static member GlVertexPointer : int * int * int * int -> unit

Parameters

size
Int32

The number of coordinates per vertex: two, three, or four.

type
Int32

GL_BYTE, GL_SHORT, GL_FIXED, or GL_FLOAT in the Common profile.

stride
Int32

The non-negative byte stride between vertices, or zero for tightly packed coordinates.

offset
Int32

The non-negative starting byte offset in the bound array buffer.

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