@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
16 lines (15 loc) • 337 B
JavaScript
/*
* Copyright (c) 2015-2018, IGN France.
* Copyright (c) 2018-2026, Giro3D team.
* SPDX-License-Identifier: MIT
*/
import { Texture } from 'three';
export default class EmptyTexture extends Texture {
isEmptyTexture = true;
constructor() {
super();
}
}
export function isEmptyTexture(obj) {
return obj?.isEmptyTexture;
}