Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglVerticesMode |
Enum : | VerticesMode |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Cogl.VerticesMode.LINES : 1
|
|
Number Cogl.VerticesMode.LINE_LOOP : 2
|
|
Number Cogl.VerticesMode.LINE_STRIP : 3
|
|
Number Cogl.VerticesMode.POINTS : 0
|
|
Number Cogl.VerticesMode.TRIANGLES : 4
|
|
Number Cogl.VerticesMode.TRIANGLE_FAN : 6
|
|
Number Cogl.VerticesMode.TRIANGLE_STRIP : 5
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
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, Number min_index, Number max_index, Number indices_offset, Number count)
:
none
This function lets you use an array of indices to specify the vertices within your vertex buffer that you want to draw.
|