UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

10 lines 216 B
import { Texture } from 'three'; export default class EmptyTexture extends Texture { isEmptyTexture = true; constructor() { super(); } } export function isEmptyTexture(obj) { return obj?.isEmptyTexture; }