view pytouhou/ui/renderer.pxd @ 443:cae83b963695

Make pytouhou.game.effect an extension type.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 17 Aug 2013 02:36:05 +0200
parents d8630c086926
children d56536ef28e8
line wrap: on
line source

cdef struct Vertex:
    int x, y, z
    float u, v
    unsigned char r, g, b, a


cdef class Renderer:
    cdef public texture_manager
    cdef unsigned int vbo
    cdef Vertex *vertex_buffer

    cpdef render_elements(self, elements)