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