大约有 66 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0122 秒)
...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
...如果图片本身在自动合集里面(默认图片小于512*512),内存是不能被销毁的,此图片被大图合集管理器管理 Parameters url: string 图集地址或者texture地址,比如 Loader.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg"); Return...
来源: Laya3.0_api 发布时间: 20231102
...renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减...
来源: Laya3.0_api 发布时间: 20231115
...edArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使用这部分内存,如果还不够,则重新分配所需内存。 Returns Byte Properties Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/utils/Byte.ts...
来源: Laya3.0_api 发布时间: 20231115
...图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Defined in laya/display/Graphics...
来源: Laya3.0_api 发布时间: 20231115
... 0 使用模板缓冲的数据,模板缓冲的数据,不允许修改(内存开销小,计算开销小,不支持换装) 1 使用动画自己的缓冲区,每个动画都会有自己的缓冲区,相当耗费内存 (内存开销大,计算开销小,支持换装) 2 使用动态方...
来源: Laya3.0_api 发布时间: 20231115
...图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect...
来源: Laya3.0_api 发布时间: 20231115
...renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减...
来源: Laya3.0_api 发布时间: 20231115
...图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect...
来源: Laya3.0_api 发布时间: 20231115
...、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模版被多次使用时,相比于每次都创建新的动画模版,使用动画模版缓存池,只需创建一次,缓存之后多次复用,从而节省了动画模...
来源: Laya3.0_api 发布时间: 20231115