comparison pytouhou/ui/renderer.pxd @ 458:1b56d62250ab

Make pytouhou.ui.{window,shader,game{runner,renderer}} extension types.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 05 Sep 2013 23:11:54 +0200
parents cae1ae9de430
children a71b912b45b7
comparison
equal deleted inserted replaced
457:4ccc47828002 458:1b56d62250ab
5 float u, v 5 float u, v
6 unsigned char r, g, b, a 6 unsigned char r, g, b, a
7 7
8 8
9 cdef class Renderer: 9 cdef class Renderer:
10 cdef public texture_manager 10 cdef public texture_manager, font_manager
11 cdef unsigned int vbo 11 cdef unsigned int vbo
12 cdef Vertex *vertex_buffer 12 cdef Vertex *vertex_buffer
13
14 cdef bint use_fixed_pipeline #XXX
13 15
14 cdef unsigned short *indices[2][MAX_TEXTURES] 16 cdef unsigned short *indices[2][MAX_TEXTURES]
15 cdef unsigned short last_indices[2 * MAX_TEXTURES] 17 cdef unsigned short last_indices[2 * MAX_TEXTURES]
16 cdef PyObject *elements[640*3] 18 cdef PyObject *elements[640*3]
17 19