StencilConfig constructor

StencilConfig({
  1. CompareFunction compareFunction = CompareFunction.always,
  2. StencilOperation stencilFailureOperation = StencilOperation.keep,
  3. StencilOperation depthFailureOperation = StencilOperation.keep,
  4. StencilOperation depthStencilPassOperation = StencilOperation.keep,
  5. int readMask = 0xFFFFFFFF,
  6. int writeMask = 0xFFFFFFFF,
})

Implementation

StencilConfig({
  this.compareFunction = CompareFunction.always,
  this.stencilFailureOperation = StencilOperation.keep,
  this.depthFailureOperation = StencilOperation.keep,
  this.depthStencilPassOperation = StencilOperation.keep,
  this.readMask = 0xFFFFFFFF,
  this.writeMask = 0xFFFFFFFF,
});