public override void Draw(Timer timer) { this.pipelineManager.ImmediateContext.ClearRenderTargetView(this.pipelineManager.BackBufferRTV, Color.CornflowerBlue); this.pipelineManager.ImmediateContext.ClearDepthStencilView(this.pipelineManager.DepthStencilView, SharpDX.Direct3D11.DepthStencilClearFlags.Depth | SharpDX.Direct3D11.DepthStencilClearFlags.Stencil, 1.0f, 0); this.modelMesh.Draw(timer); PipelineManager.Get().ImmediateContext.Rasterizer.State = RasterizerStates.CullCounterClockWise; base.Draw(timer); }