Cogl.IndexBuffer

g Cogl.IndexBuffer Cogl.IndexBuffer Cogl.Object Cogl.Object Cogl.Object->Cogl.IndexBuffer

Subclasses:

None

Methods

Inherited:

Cogl.Object (2)

class

new (context, bytes)

Virtual Methods

None

Fields

None

Class Details

class Cogl.IndexBuffer
Bases:

Cogl.Object

Abstract:

No

classmethod new(context, bytes)
Parameters:
Returns:

A newly allocated Cogl.IndexBuffer

Return type:

Cogl.IndexBuffer

Declares a new Cogl.IndexBuffer 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().

New in version 1.4.