Mercurial > touhou
view pytouhou/ui/renderer.pxd @ 413:6d7dbcb31d95
Let the gc do its work, don’t keep useless references.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 12 Jun 2013 18:32:35 +0200 |
parents | 5fe6cd6ceb48 |
children | d8630c086926 |
line wrap: on
line source
cdef struct Vertex: int x, y, z float u, v unsigned char r, g, b, a cdef struct VertexFloat: float x, y, z float u, v unsigned char r, g, b, a cdef class Renderer: cdef public texture_manager cdef Vertex *vertex_buffer cdef object texture_key cdef unsigned short blendfunc, nb_vertices cdef VertexFloat *background_vertex_buffer cpdef render_elements(self, elements) cpdef render_background(self) cpdef prerender_background(self, background)