threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
11 lines • 349 B
JavaScript
export function upgradeTexture() {
this.assetType = 'texture';
if (!this.userData)
this.userData = {};
if (!this._appliedMaterials)
this._appliedMaterials = new Set();
if (!this.setDirty)
this.setDirty = () => this.needsUpdate = true;
// todo: uiconfig, dispose, etc
}
//# sourceMappingURL=ITexture.js.map