@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
21 lines • 488 B
TypeScript
export class AbstractTextureAtlas {
/**
*
* @param {Sampler2D} sampler
* @param {number} [padding]
* @returns {AtlasPatch}
*/
add(sampler: Sampler2D, padding?: number): AtlasPatch;
/**
*
* @param {AtlasPatch} patch
* @returns {boolean}
*/
remove(patch: AtlasPatch): boolean;
get sampler(): void;
/**
* @throws {Error} if update fails
*/
update(): void;
}
//# sourceMappingURL=AbstractTextureAtlas.d.ts.map