UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

36 lines 895 B
export class ReferencedTextureAtlas extends AbstractTextureAtlas { /** * * @param {AbstractTextureAtlas} atlas */ constructor(atlas: AbstractTextureAtlas); __atlas: AbstractTextureAtlas; /** * * @type {Map<Sampler2D, AtlasPatch>} * @private */ private __patches; /** * * @type {Map<AtlasPatch, number>} * @private */ private __ref_counts; /** * * @param {Reference} ref * @param {AtlasPatch} patch * @private */ private __handle_ref_release; /** * * @param {Sampler2D} sampler * @returns {Reference<AtlasPatch>} */ acquire(sampler: Sampler2D): Reference<AtlasPatch>; } import { AbstractTextureAtlas } from "./AbstractTextureAtlas.js"; import { Reference } from "../../../reference/v2/Reference.js"; //# sourceMappingURL=ReferencedTextureAtlas.d.ts.map