UNPKG

rl-loadout-lib

Version:

Load Rocket League assets into three.js

11 lines 443 B
/** * Convenience function to call dispose() on an object if it's not undefined or null. * @param object nullable object that must have a dispose method */ import { Texture } from 'three'; export declare function disposeIfExists(object: any): void; export declare const StringUtil: { nullOrEmpty: (s: string) => boolean; }; export declare function htmlImageToTexture(image: HTMLImageElement): Texture; //# sourceMappingURL=util.d.ts.map