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

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

1. laya.ani.bone.Templet_API3.0 [ 100%]

...Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from ...

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

2. laya.utils.Stat_API3.0 [ 86%]

...与shader也是非常耗时的操作; CurMem:Canvas模式下,表示内存占用大小,值越小越好,过高会导致游戏闪退;WebGL模式下,表示内存与显存的占用,值越小越好; Shader:是 WebGL 模式独有的性能指标,表示每大约1秒 Shader 提交次数...

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

3. laya.display.Animation_API3.0 [ 82%]

...、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模版被多次使用时,相比于每次创建新的动画模版,使用动画模版缓存池,只需创建一次,缓存之后多次复用,从而节省了动画模...

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

4. laya.ani.bone.Skeleton_API3.0 [ 82%]

... 0 使用模板缓冲的数据,模板缓冲的数据,不允许修改(内存开销小,计算开销小,不支持换装) 1 使用动画自己的缓冲区,每个动画会有自己的缓冲区,相当耗费内存内存开销大,计算开销小,支持换装) 2 使用动态方...

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

5. laya.resource.Texture_API3.0 [ 77%]

...Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from ...

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

6. laya.media.VideoTexture_API3.0 [ 75%]

...Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number currentSrc get currentSrc(): string Defined in laya/media/VideoTexture.ts:270 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): ...

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

7. laya.ui.DialogManager_API3.0 [ 59%]

...renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减...

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

8. laya.ui.Dialog_API3.0 [ 59%]

...销毁的场景列表,方便查看还未被销毁的场景列表,方便内存管理,本属性只读,请不要直接修改 Accessors _isHeightSet get _isHeightSet(): boolean Inherited from Text._isHeightSet Defined in laya/display/Sprite.ts:538 Returns boolean _isWidthSet get _isWidthSet(): b...

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

9. laya.html.dom.HTMLIframeElement_API3.0 [ 55%]

...renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减...

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

10. laya.html.dom.HTMLDivElement_API3.0 [ 55%]

...renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减...

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