Cogl.IndexBuffer¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Cogl.IndexBuffer¶
- Bases:
- Abstract:
No
- classmethod new(context, bytes)¶
- Parameters:
context (
Cogl.Context
) – ACogl.Context
bytes (
int
) – The number of bytes to allocate for vertex attribute data.
- Returns:
A newly allocated
Cogl.IndexBuffer
- Return type:
Declares a new
Cogl.IndexBuffer
of size bytes to contain vertex indices. Once declared, data can be set usingCogl.buffer_set_data
() or by mapping it into the application’s address space usingCogl.buffer_map
().New in version 1.4.