Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglVerticesMode |
Enum : | VerticesMode |
Properties | |
---|---|
guint32 Cogl.VerticesMode.LINES : 1
|
|
guint32 Cogl.VerticesMode.LINE_LOOP : 2
|
|
guint32 Cogl.VerticesMode.LINE_STRIP : 3
|
|
guint32 Cogl.VerticesMode.POINTS : 0
|
|
guint32 Cogl.VerticesMode.TRIANGLES : 4
|
|
guint32 Cogl.VerticesMode.TRIANGLE_FAN : 6
|
|
guint32 Cogl.VerticesMode.TRIANGLE_STRIP : 5
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl
Method |
Cogl.draw_attributes_array
(VerticesMode mode, gint32 first_vertex, gint32 n_vertices, Attribute attributes)
:
none
|
Cogl
Method |
Cogl.draw_indexed_attributes_array
(VerticesMode mode, gint32 first_vertex, gint32 n_vertices, Indices indices, Attribute attributes)
:
none
|
Cogl
Method |
Allows you to draw geometry using all or a subset of the
vertices in a vertex buffer. |
Cogl
Method |
Cogl.vertex_buffer_draw_elements
(void* handle, VerticesMode mode, void* indices, gint32 min_index, gint32 max_index, gint32 indices_offset, gint32 count)
:
none
This function lets you use an array of indices to specify the vertices
within your vertex buffer that you want to draw. |
Cogl.Primitive
Method |
get_mode
()
:
Cogl.VerticesMode
|
Cogl.Primitive
Method |
set_mode
(VerticesMode mode)
:
none
|