Esempio n. 1
0
 public RenderState()
 {
     alphaToCoverage  = new AlphaToCoverage();
     wireframe        = new Wireframe();
     polygonOffset    = new PolygonOffset();
     channelMask      = new ChannelMask();
     scissorTest      = new ScissorTest();
     primativeRestart = new PrimativeRestart();
 }
Esempio n. 2
0
        bool isDifferent(ScissorTest other)
        {
            if (enabled != other.enabled)
            {
                return(true);
            }
            if (rect != other.rect)
            {
                return(true);
            }

            return(false);
        }