mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-10-09 11:25:23 +00:00
[engine] 为动态图集管理器增加一些实用接口(getUnusedAtlas, deleteAtlas, destroyUnusedAtlases)
This commit is contained in:
@@ -61,10 +61,11 @@ export class MultiBatcher {
|
||||
|
||||
|
||||
/**
|
||||
* 重置多纹理材质数组,再次使用请先初始化
|
||||
* 重置
|
||||
*/
|
||||
reset() {
|
||||
this.handlers.length = 0;
|
||||
this.nextHandler = null!;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user