comparison pytouhou/ui/background.pxd @ 423:d8630c086926

Replace Pyglet with our own Cython OpenGL wrapper.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:07:15 +0200
parents
children 5d7bb2fd74f7
comparison
equal deleted inserted replaced
422:52829ebe2561 423:d8630c086926
1 cdef struct Vertex:
2 float x, y, z
3 float u, v
4 unsigned char r, g, b, a
5
6
7 cdef class BackgroundRenderer:
8 cdef public texture_manager
9 cdef object texture_key
10 cdef unsigned short blendfunc, nb_vertices
11 cdef Vertex *vertex_buffer
12 cdef unsigned int use_fixed_pipeline, vbo
13
14 cpdef render_background(self)
15 cpdef prerender(self, background)