Język

GLES11.GlColorPointer(Int32, Int32, Int32, Int32) Method

Definition

Defines a buffer-backed four-component color array.

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

Parameters

size
Int32

Four components per color.

type
Int32

GL_UNSIGNED_BYTE, GL_FIXED, or GL_FLOAT in the Common profile.

stride
Int32

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

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