Skip to content

Commit

Permalink
#1222-DRACOLoader.d.ts-add-parse-function (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamatoma committed Sep 9, 2024
1 parent 07a8e7d commit eeb32ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/three/examples/jsm/loaders/DRACOLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ export class DRACOLoader extends Loader<BufferGeometry> {
onError?: (err: unknown) => void,
): void;

parse(
buffer: ArrayBuffer,
onLoad?: (geometry: BufferGeometry) => void,
onError?: (err: unknown) => void,
): void;

preload(): DRACOLoader;
dispose(): DRACOLoader;
}

0 comments on commit eeb32ca

Please sign in to comment.