view pytouhou/ui/gamerenderer.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 a71b912b45b7
line wrap: on
line source

from pytouhou.utils.matrix cimport Matrix
from .background cimport BackgroundRenderer
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 BackgroundRenderer background_renderer

    cdef void load_background(self, background)
    cdef void start(self, game)
    cdef void render(self, game)
    cdef void render_game(self, game)
    cdef void render_text(self, texts)
    cdef void render_interface(self, interface, game_boss)