Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/f/l/Flappy-0.3.7/flappy/display3d/scene3d.py   Flappy(Download)
        self._do(gl.bindFramebuffer, gl.FRAMEBUFFER, self._frame_buffer)
        self._set_depth_and_stencil(enable_depth_and_stencil)
        self._do(gl.framebufferTexture2D, gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0, 
                                        gl.TEXTURE_2D, texture.gl_texture, 0)
        self._do(gl.viewport, 0, 0, texture.width, texture.height)