Import
TextureHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { TextureHelper } from 'three/addons/helpers/TextureHelper.js';
Constructor
new TextureHelper( texture : Texture, width : number, height : number, depth : number )
Constructs a new texture helper.
| texture |
The texture to visualize. |
| width |
The helper's width. Default is |
| height |
The helper's height. Default is |
| depth |
The helper's depth. Default is |
Properties
Methods
.dispose()
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.