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