예제 #1
0
        void renderScene()
        {
            // set the window's viewport as the active viewport
            mRSys._setViewport(mCamera.Viewport);
            // clear colour & depth
            mRSys.ClearFrameBuffer((uint)Mogre.FrameBufferType.FBT_COLOUR | (uint)Mogre.FrameBufferType.FBT_DEPTH);

            // render scene with overlays
            mMgr._renderScene(mCamera, mCamera.Viewport, true);
            mWindow.SwapBuffers(true);
        }
예제 #2
0
 public override void Execute(SceneManager sm, RenderSystem rs)
 {
     rs.ClearFrameBuffer(buffers, color, depth, stencil);
 }