Mercurial > touhou
view pytouhou/ui/background.pxd @ 461:6af3854ed826
Make NativeText work with the fixed pipeline.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 11 Sep 2013 00:35:49 +0200 |
parents | 6e733ed817bd |
children | feecdb4a8928 |
line wrap: on
line source
from pytouhou.lib.opengl cimport GLuint cdef struct Vertex: float x, y, z float u, v unsigned char r, g, b, a cdef class BackgroundRenderer: cdef GLuint texture cdef unsigned short blendfunc, nb_vertices cdef Vertex *vertex_buffer cdef unsigned int use_fixed_pipeline, vbo cdef object background cdef void render_background(self) cdef void load(self, background)