diff pytouhou/ui/gamerenderer.pxd @ 458:1b56d62250ab

Make pytouhou.ui.{window,shader,game{runner,renderer}} extension types.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 05 Sep 2013 23:11:54 +0200
parents
children 6e733ed817bd
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/pytouhou/ui/gamerenderer.pxd
@@ -0,0 +1,9 @@
+from pytouhou.utils.matrix cimport Matrix
+from .renderer cimport Renderer
+from .shader cimport Shader
+
+cdef class GameRenderer(Renderer):
+    cdef Matrix game_mvp, interface_mvp, proj
+    cdef Shader game_shader, background_shader, interface_shader
+
+    cdef object game, background, background_renderer #XXX