flywave-mapview.ipass.render
Home > @flywave/flywave-mapview > IPass > render
IPass.render() method
The render method to extend in Pass implementations.
Signature:
render(renderer: THREE.WebGLRenderer, scene: THREE.Scene, camera: THREE.Camera, writeBuffer: THREE.WebGLRenderTarget | null, readBuffer: THREE.WebGLRenderTarget | null, delta?: number): void;
Parameters
Parameter | Type | Description |
|---|---|---|
renderer | THREE.WebGLRenderer | The WebGLRenderer instance in use. |
scene | THREE.Scene | The scene to render. |
camera | THREE.Camera | The camera to render the scene through. |
writeBuffer | THREE.WebGLRenderTarget | null | The optional WebGLRenderTarget instance to write to. |
readBuffer | THREE.WebGLRenderTarget | null | The optional WebGLRenderTarget instance of a previous pass to write onto. |
delta | number | (Optional) The time argument from the requestAnimationFrame. |
Returns:
void
## Remarks
This is the place where the desired effects or render operations are executed.