@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
7 lines (6 loc) • 342 B
TypeScript
/** Returns `true` when the Needle project is configured to serve gzip-compressed assets.
* Reads the `gzip` field from the config object.
* @param {import('../types/needleConfig').needleConfig | undefined} config
* @returns {boolean}
*/
export function useGzip(config: import("../types/needleConfig").needleConfig | undefined): boolean;