Index Arrays

Index Arrays

Synopsis

CoglIndexArray *    cogl_index_array_new                (gsize bytes);

Description

Details

cogl_index_array_new ()

CoglIndexArray *    cogl_index_array_new                (gsize bytes);

Declares a new CoglIndexArray of size bytes to contain vertex indices. Once declared, data can be set using cogl_buffer_set_data() or by mapping it into the application's address space using cogl_buffer_map().

size :

The number of bytes to allocate for vertex attribute data.

Since 1.4

Stability Level: Unstable