Import
TGALoader is an addon, and must be imported explicitly, see Installation#Addons.
import { TGALoader } from 'three/addons/loaders/TGALoader.js';
Constructor
new TGALoader( manager : LoadingManager )
Constructs a new TGA loader.
| manager |
The loading manager. |
Methods
.parse( buffer : ArrayBuffer ) : DataTextureLoader~TexData
Parses the given TGA texture data.
| buffer |
The raw texture data. |
- Overrides: DataTextureLoader#parse
- Returns: An object representing the parsed texture data.