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

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

1. [LayaAir3]spine内存分配不合理 [ 100%]

[LayaAir3]spine内存分配不合理 如图示,每个spine都用最大顶点长度去创建buffer,我的项目中会使用大量spine,但是顶点数很少,这会导致很大的内存浪费 附件 : --> 2025-01-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

2. laya.utils.Byte_API3.0 [ 89%]

...初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使用这部分内存,如果还不够,则重新分配所需内存。 Returns Byte Properties Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in lay...

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

3. laya.utils.Byte [ 87%]

...,将会截断该字节数组。 如果要设置的长度大于当前已分配的内存空间的字节长度,则重新分配内存空间,大小为以下两者较大者:要设置的长度、当前已分配的长度的2倍,并将原有数据拷贝到新的内存空间中;如果要设置的...

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

4. laya.utils.Byte [ 87%]

...,将会截断该字节数组。 如果要设置的长度大于当前已分配的内存空间的字节长度,则重新分配内存空间,大小为以下两者较大者:要设置的长度、当前已分配的长度的2倍,并将原有数据拷贝到新的内存空间中;如果要设置的...

来源: laya_api 发布时间: 20170929

5. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 83%]

...enableUniformBufferObject2.6 材质使用UBO matUseUBO2.7 2D网格内存预分配 webGL2D_MeshAllocMaxMem2.8 默认字体与字号3、2D灯光全局配置3.1 环境光颜色 ambientColor3.3 环境光遮罩 ambientLayerMask3.4 光影图多重采样数 multiSamples4、3D相关参数说明:4.1 开启...

来源: Laya3.0_文档 发布时间: 20251231

6. laya.renders.VertexElement_API3.0 [ 81%]

...VertexElement Class VertexElement VertexElement 类用于创建顶点结构分配。 Hierarchy VertexElement Index Constructors constructor Accessors elementFormat elementUsage offset Constructors constructor new VertexElement(offset: number, elementFormat: string, elementUsage: number): VertexEleme...

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

7. laya.d3.graphics.VertexElement_API3.0 [ 81%]

...VertexElement Class VertexElement VertexElement 类用于创建顶点结构分配。 Hierarchy VertexElement Index Constructors constructor Accessors elementFormat elementUsage offset Constructors constructor new VertexElement(offset: number, elementFormat: string, elementUsage: number): VertexEleme...

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

8. Config [ 77%]

...= true[static] 当使用webGL渲染2d的时候,每次创建vb是否直接分配足够64k个顶点的缓存。这样可以提高效率。 ConfigProperty DetailanimationIntervalpropertypublic static var animationInterval:int = 50 动画 Animation 的默认播放时间间隔,单位为毫秒。 is2D...

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

9. laya.d3.graphics.VertexElement [ 65%]

...ntInheritanceVertexElement Object VertexElement 类用于创建顶点结构分配。 Public Properties PropertyDefined By  elementFormat : StringVertexElement  elementUsage : intVertexElement  offset : intVertexElementPublic Methods  MethodDefined By  VertexElement(offset:int, elementForma...

来源: laya_api 发布时间: 20170929

10. laya.d3.graphics.VertexElement [ 65%]

...ntInheritanceVertexElement Object VertexElement 类用于创建顶点结构分配。 Public Properties PropertyDefined By  elementFormat : StringVertexElement  elementUsage : intVertexElement  offset : intVertexElementPublic Methods  MethodDefined By  VertexElement(offset:int, elementForma...

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