view pytouhou/ui/renderer.pxd @ 427:0604f4fbbe3c

Move the depth buffer clear outside of scissor, as per apitrace’s advice.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 03 Aug 2013 15:48:51 +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)