Esempio n. 1
0
        public void BeginFrame(DeviceContext context, double currentRealTime, float elapsedTime)
        {
            CurrentRealTime    = currentRealTime;
            CurrentElapsedTime = elapsedTime;


            DXMan.ClearRenderTarget(context);
            DXMan.SetDefaultRenderTarget(context);

            SetRasterizerMode(context, RasterizerMode.SolidDblSided);
            SetDepthStencilMode(context, DepthStencilMode.DisableAll);
            SetDefaultBlendState(context);
        }