IndicesType
Description:
[ CCode ( cprefix = "COGL_INDICES_TYPE_UNSIGNED_" , has_type_id = false ) ]
public enum IndicesType
public enum IndicesType
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 INT is only supported if the
COGL_FEATURE_ID_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.
Namespace: Cogl
Package: cogl-1.0