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