Mercurial > touhou
comparison pytouhou/ui/opengl/gamerenderer.pxd @ 513:5e3e0b09a531
Move the OpenGL backend to its own package.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 05 Dec 2013 02:16:31 +0100 |
parents | pytouhou/ui/gamerenderer.pxd@2e8ceaa85d5c |
children | 577c3a88fb67 |
comparison
equal
deleted
inserted
replaced
512:b39ad30c6620 | 513:5e3e0b09a531 |
---|---|
1 from pytouhou.utils.matrix cimport Matrix | |
2 from pytouhou.game.game cimport Game | |
3 from .background cimport BackgroundRenderer | |
4 from .renderer cimport Renderer, Framebuffer | |
5 from .shader cimport Shader | |
6 | |
7 cdef class GameRenderer(Renderer): | |
8 cdef Matrix game_mvp, interface_mvp, proj | |
9 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader | |
10 cdef Framebuffer framebuffer | |
11 cdef BackgroundRenderer background_renderer | |
12 | |
13 cdef void render_game(self, Game game) except * | |
14 cdef void render_text(self, texts) except * | |
15 cdef void render_interface(self, interface, game_boss) except * |