• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 452 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

1. texture销毁问题,,,, [ 100%]

texture销毁问题,,,, 加载一张图片,然后获取texture var texture = Laya.loader.getRes(url); 然后texture调用texture.destroy(true); 销毁图片, 那下次要使用该图片的时候,还需要重新加载吗,,  是不是我下次使用的时候,我可以直接...

来源: Laya_社区 发布时间: 20171226

2. [LayaAir3]3.0 Image使用的Texture不在_idResourcesMap里,没办法gc清,image执行destory的时候也没有清 [ 99%]

[LayaAir3]3.0 Image使用的Texture不在_idResourcesMap里,没办法gc清,image执行destory的时候也没有清 是bug吗,现在使用完的image资源怎么清掉?看图 附件 : --> 2023-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

来源: Laya_社区 发布时间: 20231124

3. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 99%]

...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

4. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 99%]

...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

5. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 99%]

...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

6. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 98%]

# 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

7. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 98%]

# 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

8. 官方“销毁Texture”示例问题 [ 97%]

官方“销毁Texture”示例问题 打开示例,GPU内存占用显示为5M点击“销毁”按钮后,GPU内存占用为0M 然后点击“恢复”按钮后,GPU内存占用飙到120多M   这正常么?   附件 : --> 2019-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20190731

9. 加载-销毁Texture使用的图片资源 [ 96%]

...便舞台没有任何对象,也会占用这部分内存; * 2. 销毁 Texture 使用的图片资源后,会保留 Texture 壳,当下次渲染时,发现 Texture 使用的图片资源不存在,则自动恢复。 */ var GameMain = /** @class */ (function () { function GameMain() { this.isDest...

来源: Laya_示例 发布时间: 20240930

10. laya.resource.Texture [ 96%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170929