bool isDifferent(DepthWrite other) { if (enabled != other.enabled) { return(true); } return(false); }
public PipelineState() { shaderState = new ShaderState(); blending = new Blending(); depthTest = new DepthTest(); depthWrite = new DepthWrite(); culling = new Culling(); stencilTest = new StencilTest(); vaoState = new VaoState(); }