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

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

1. laya.device.media.HtmlVideo_API3.0 [ 100%]

...reateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/media/HtmlVideo.ts:13 Returns HtmlVideo Properties destoryedImmediately destoryedImmediately: boolean Inherit...

来源: Laya3.0_api 发布时间: 20231102

2. laya.resource.Texture_API3.0 [ 95%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHei...

来源: Laya3.0_api 发布时间: 20231115

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

...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 ​ *...

来源: Laya2.0_文档 发布时间: 20210715

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

...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 ​ *...

来源: Laya2.0_文档 发布时间: 20210715

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

...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 ​ *...

来源: Laya2.0_文档 发布时间: 20210715

6. laya.resource.Texture [ 91%]

...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By  _atlasID : int = -1Texture  bitmap : * 图片...

来源: laya_api 发布时间: 20170929

7. laya.resource.HTMLCanvas [ 90%]

...Frames No Frames HTMLCanvasProperties | Methods | Constants Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。。请不要直接使用 new HTMLCanvas! Public Properties Prop...

来源: laya_api 发布时间: 20170929

8. 引擎2.0.2版本,调用Resource.destroyUnusedResources问题 [ 90%]

引擎2.0.2版本,调用Resource.destroyUnusedResources问题 在切换场景的时候将UI销毁,再调用Resource.destroyUnusedResources销毁大图的纹理资源。在之后的界面中如果用到了这个url对应的bitmap的时候。都会通过recoverBitmap进行一次重新加载,导...

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

9. laya.resource.Texture [ 90%]

...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D 获取位图。 Texture  destroyed : Boolean[read-on...

来源: Laya2.0_api 发布时间: 20190513

10. Text设置为bitmap后,会生成对应的文字纹理存在显存,这部分纹理可以手动释放吗? [ 81%]

...f_d 赞同来自: 可以手动  直接.destroy 就可以了 也可以Laya.Resource.destroyUnusedResources(); 销毁当前没有被使用的资源 2019-05-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****515 相关问题 纹理...

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