UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

42 lines 762 B
export class SGCacheKey { /** * ID of geometry * @type {number} */ geometry: number; /** * ID of material * @type {number} */ material: number; /** * * @type {DrawMode} */ mode: DrawMode; /** * * @type {number} */ flags: number; hash(): number; /** * * @param {SGCacheKey} other * @returns {boolean} */ equals(other: SGCacheKey): boolean; /** * * @param {SGCacheKey} other */ copy(other: SGCacheKey): void; clone(): SGCacheKey; /** * * @param {ShadedGeometry} sg */ fromSG(sg: ShadedGeometry): void; } import { DrawMode } from "../../DrawMode.js"; //# sourceMappingURL=SGCacheKey.d.ts.map