Interface GPUStencilFaceState
interface GPUStencilFaceState {
compare?: GPUCompareFunction;
depthFailOp?: GPUStencilOperation;
failOp?: GPUStencilOperation;
passOp?: GPUStencilOperation;
}
compare?: GPUCompareFunction;
depthFailOp?: GPUStencilOperation;
failOp?: GPUStencilOperation;
passOp?: GPUStencilOperation;
}
Index
Properties
Properties
Optionalcompare
OptionaldepthFailOp
The GPUStencilOperation performed if the fragment depth comparison described by GPUDepthStencilState#depthCompare fails.
OptionalfailOp
The GPUStencilOperation performed if the fragment stencil comparison test described by GPUStencilFaceState#compare fails.
OptionalpassOp
The GPUStencilOperation performed if the fragment stencil comparison test described by GPUStencilFaceState#compare passes.
The GPUCompareFunction used when testing the RenderState#[[stencilReference]] value against the fragment's GPURenderPassDescriptor#depthStencilAttachment stencil values.