Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Enum Cogl.IndicesType

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglIndicesType
Enum : IndicesType
  Show / Hide Inherited methods, properties and signals
You should aim to use the smallest data type that gives you enough range, since it reduces the size of your index array and can help reduce the demand on memory bandwidth. Note that COGL_INDICES_TYPE_UNSIGNED_INT is only supported if the COGL_FEATURE_UNSIGNED_INT_INDICES feature is available. This should always be available on OpenGL but on OpenGL ES it will only be available if the GL_OES_element_index_uint extension is advertized.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cogl
Method
Cogl.vertex_buffer_indices_get_type (void* indices) : Cogl.IndicesType
Queries back the data type used for the given indices
Cogl
Method
Cogl.vertex_buffer_indices_new (IndicesType indices_type, Array indices_array, Number indices_len) : void*
Depending on how much geometry you are submitting it can be worthwhile optimizing the number of redundant vertices you submit.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:40 GMT+0800 (HKT)