大约有 313 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(104) Laya_社区(78) Laya2.0_api(62) laya_api(58) Laya2.0_文档(7) Laya3.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
# Texture资源销毁 ```java package { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() {...
来源: Laya2.0_文档 发布时间: 20210714
# Texture资源销毁 ```java package { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() {...
来源: Laya2.0_文档 发布时间: 20200929
...LongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", "res/threeDimen/skinModel/BoneLinkScene/PangZiNoAni.lh", "res/threeDim...
来源: Laya2.0_文档 发布时间: 20210715
...LongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", "res/threeDimen/skinModel/BoneLinkScene/PangZiNoAni.lh", "res/threeDim...
来源: Laya2.0_文档 发布时间: 20210715
...LongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", "res/threeDimen/skinModel/BoneLinkScene/PangZiNoAni.lh", "res/threeDim...
来源: Laya2.0_文档 发布时间: 20210715
...便舞台没有任何对象,也会占用这部分内存; * 2. 销毁 Texture 使用的图片资源后,会保留 Texture 壳,当下次渲染时,发现 Texture 使用的图片资源不存在,则自动恢复。 */ var GameMain = /** @class */ (function () { function GameMain() { this.isDest...
来源: Laya_示例 发布时间: 20240930
...自: 参照文档:https://ldc.layabox.com/doc/?nav=zh-as-3-2-7 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,...
来源: Laya_社区 发布时间: 20190312
...roup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是...
来源: Laya2.0_api 发布时间: 20190513
... = "res/bg2.png", PathFly = "res/fighter/fighter.atlas"; class Loader_ClearTextureRes { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cli...
来源: Laya2.0_示例 发布时间: 20240930
... Monica - 知识达人 赞同来自: 1.7.12beta版本新增了一个clearTextureRes接口,如果你不确定之后是否会用到这张资源的话可以用Laya.loader.clearTextureRes("url")进行销毁。 关于clearTextureRes: 销毁Texture使用的图片资源,保留texture壳,如果下...
来源: Laya_社区 发布时间: 20171103