Beispiel #1
0
        static RenderContext()
        {
            var rs = new RasterizerStateDescription();

            rs.SetDefault();
            rs.ScissorTestEnable = true;
            _uiRasterizerState   = rs;
        }
Beispiel #2
0
        internal RenderContext()
        {
            var rs = new RasterizerStateDescription();

            rs.SetDefault();
            rs.ScissorTestEnable = true;

            _spriteBatchBeginParams.RasterizerState = rs;
        }