GPUStencilFaceState constructor
GPUStencilFaceState({
- GPUCompareFunction? compare,
- GPUStencilOperation? failOp,
- GPUStencilOperation? depthFailOp,
- GPUStencilOperation? passOp,
Implementation
factory GPUStencilFaceState(
{GPUCompareFunction? compare,
GPUStencilOperation? failOp,
GPUStencilOperation? depthFailOp,
GPUStencilOperation? passOp}) =>
GPUStencilFaceState._(
compare: compare?.value ?? GPUCompareFunction.always.value,
failOp: failOp?.value ?? GPUStencilOperation.keep.value,
depthFailOp: depthFailOp?.value ?? GPUStencilOperation.keep.value,
passOp: passOp?.value ?? GPUStencilOperation.keep.value);