THREE.MaskPass = function(e, t) {
    this.scene = e,
    this.camera = t,
    this.enabled = !0,
    this.clear = !0,
    this.needsSwap = !1,
    this.inverse = !1
}
,
THREE.MaskPass.prototype = {
    render: function(e, t, i, n) {
        var r = e.context;
        r.colorMask(!1, !1, !1, !1),
        r.depthMask(!1);
        var o, a;
        this.inverse ? (o = 0,
        a = 1) : (o = 1,
        a = 0),
        r.enable(r.STENCIL_TEST),
        r.stencilOp(r.REPLACE, r.REPLACE, r.REPLACE),
        r.stencilFunc(r.ALWAYS, o, 4294967295),
        r.clearStencil(a),
        e.render(this.scene, this.camera, i, this.clear),
        e.render(this.scene, this.camera, t, this.clear),
        r.colorMask(!0, !0, !0, !0),
        r.depthMask(!0),
        r.stencilFunc(r.EQUAL, 1, 4294967295),
        r.stencilOp(r.KEEP, r.KEEP, r.KEEP)
    }
},
THREE.ClearMaskPass = function() {
    this.enabled = !0
}
,
THREE.ClearMaskPass.prototype = {
    render: function(e, t, i, n) {
        var r = e.context;
        r.disable(r.STENCIL_TEST)
    }
}