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); }
public override void Execute(SceneManager sm, RenderSystem rs) { rs.ClearFrameBuffer(buffers, color, depth, stencil); }