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