@loaders.gl/textures
Version:
Framework-independent loaders for compressed and super compressed (basis) textures
8 lines • 338 B
JavaScript
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
// Generate a member url by calling getUrl with merged options.
export function generateUrl(getUrl, options, urlOptions) {
return typeof getUrl === 'function' ? getUrl({ ...options, ...urlOptions }) : getUrl;
}
//# sourceMappingURL=generate-url.js.map