Passes that should run before this pass
Passes that should run after this pass
OptionalcameraDraw the mask in the next render. Set it after a change that does not reset the render (the selection, the hover).
ReadonlypassUnique id for the pass. Used to determine the order of passes in the pipeline.
Passes that are required to be present in the pipeline to run this pass.
OptionalsceneStaticLayerThe camera layer that the pass renders
This function gets called at the beginning of every frame where this pass would be enabled.
OptionalwriteBuffer: WebGLRenderTarget<Texture<TextureEventMap>> | nullOptional_1: WebGLRenderTarget<Texture<TextureEventMap>>OptionaldeltaTime: numberOptionalmaskActive: boolean
Renders the meshes of SelectionOutlinePlugin into its mask target, with their item data and linear depth. The meshes are drawn on SelectionMaskPass.Layer during the pass.
The mask is kept between frames: the pass draws it in the first frame after a reset of the render (a change of the scene or the camera), after needsUpdate is set, for another camera, or after a resize of the target. So the frames of a progressive render do not draw the meshes again, and after a reset the mask is the one of the first frame, which the SSAAPlugin does not jitter.