comparison 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
comparison
equal deleted inserted replaced
461:6af3854ed826 462:a71b912b45b7
1 from pytouhou.utils.matrix cimport Matrix 1 from pytouhou.utils.matrix cimport Matrix
2 from .background cimport BackgroundRenderer 2 from .background cimport BackgroundRenderer
3 from .renderer cimport Renderer 3 from .renderer cimport Renderer, Framebuffer
4 from .shader cimport Shader 4 from .shader cimport Shader
5 5
6 cdef class GameRenderer(Renderer): 6 cdef class GameRenderer(Renderer):
7 cdef Matrix game_mvp, interface_mvp, proj 7 cdef Matrix game_mvp, interface_mvp, proj
8 cdef Shader game_shader, background_shader, interface_shader 8 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader
9 cdef Framebuffer framebuffer
9 cdef BackgroundRenderer background_renderer 10 cdef BackgroundRenderer background_renderer
10 11
11 cdef void load_background(self, background) 12 cdef void load_background(self, background)
12 cdef void start(self, game) 13 cdef void start(self, game)
13 cdef void render(self, game) 14 cdef void render(self, game)