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

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

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

            _spriteBatchBeginParams.RasterizerState = rs;
        }