Interface GPUStencilFaceState
interface GPUStencilFaceState {
compare?: GPUCompareFunction;
depthFailOp?: GPUStencilOperation;
failOp?: GPUStencilOperation;
passOp?: GPUStencilOperation;
}
compare?: GPUCompareFunction;
depthFailOp?: GPUStencilOperation;
failOp?: GPUStencilOperation;
passOp?: GPUStencilOperation;
}
Index
Properties
Properties
Optional
compare
Optional
depthFailOp
The GPUStencilOperation performed if the fragment depth comparison described by GPUDepthStencilState#depthCompare fails.
Optional
failOp
The GPUStencilOperation performed if the fragment stencil comparison test described by GPUStencilFaceState#compare fails.
Optional
passOp
The GPUStencilOperation performed if the fragment stencil comparison test described by GPUStencilFaceState#compare passes.
The GPUCompareFunction used when testing fragments against GPURenderPassDescriptor#depthStencilAttachment stencil values.