Mercurial > touhou
diff pytouhou/ui/gamerenderer.pxd @ 462:a71b912b45b7
Render to framebuffers first, and reposition some interface elements in the game area.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 11 Sep 2013 00:36:50 +0200 |
parents | 6e733ed817bd |
children | 36bc577b2392 |
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pxd +++ b/pytouhou/ui/gamerenderer.pxd @@ -1,11 +1,12 @@ from pytouhou.utils.matrix cimport Matrix from .background cimport BackgroundRenderer -from .renderer cimport Renderer +from .renderer cimport Renderer, Framebuffer from .shader cimport Shader cdef class GameRenderer(Renderer): cdef Matrix game_mvp, interface_mvp, proj - cdef Shader game_shader, background_shader, interface_shader + cdef Shader game_shader, background_shader, interface_shader, passthrough_shader + cdef Framebuffer framebuffer cdef BackgroundRenderer background_renderer cdef void load_background(self, background)