docs/pages/TexturePass.html
TexturePass is an addon, and must be imported explicitly, see Installation#Addons.
import { TexturePass } from 'three/addons/postprocessing/TexturePass.js';
Constructs a new texture pass.
| map |
The texture to render.
| | opacity |
The opacity.
Default is 1.
|
The texture to render.
The pass material.
Overwritten to disable the swap.
Default is false.
Overrides: Pass#needsSwap
The opacity.
Default is 1.
The pass uniforms.
Frees the GPU-related resources allocated by this instance. Call this method whenever the pass is no longer used in your app.
Overrides: Pass#dispose
Performs the texture pass.
| renderer |
The renderer.
| | writeBuffer |
The write buffer. This buffer is intended as the rendering destination for the pass.
| | readBuffer |
The read buffer. The pass can access the result from the previous pass from this buffer.
| | deltaTime |
The delta time in seconds.
| | maskActive |
Whether masking is active or not.
|
Overrides: Pass#render