Inheritance: EventDispatcher → Object3D → Mesh →
This module is a helper for passes which need to render a full screen effect which is quite common in context of post processing.
The intended usage is to reuse a single quad mesh for rendering subsequent passes by just reassigning the material reference.
Note: This module can only be used with WebGPURenderer.
Constructs a new quad mesh.
material
The material to render the quad mesh with.
Default is null.
The camera to render the quad mesh with.
This flag can be used for type testing.
Default is true.
Renders the quad mesh
renderer
The renderer.
Async version of render().
renderer
The renderer.
Deprecated: Yes
Returns: A Promise that resolves when the render has been finished.