大约有 331 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
...isablevertexattribarray 问题出在粒子系统的shader用到了很多顶点属性,一般的shader顶多用2~3个,粒子系统用到了10个,而这些属性在enableVertexAttribArray之后没有disableVertexAttribArray,导致粒子相关buffer被delete之后出现no buffer is bound to e...
来源: Laya_社区 发布时间: 20200708
... laya/d3/component/Volume/BatchVolume/StaticBatchVolume.ts:113 开启静态顶点合批 Returns boolean Defined in laya/d3/component/Volume/BatchVolume/StaticBatchVolume.ts:117 开启静态顶点合批 Parameters value: boolean Returns void enableStaticInstanceBatchRender get enableStaticInstanceBat...
来源: Laya3.0_api 发布时间: 20231115
...大小。缓冲区内存是指用于存储缓冲区数据的内存,包括顶点缓冲区、索引缓冲区等。如图14-1所示。 (图14-1) 15、uploadUniformNum数值说明 Uniform是一种从CPU中的应用向GPU中的着色器发送数据的方式,但uniform和顶点属性有些不同...
来源: Laya3.0_文档 发布时间: 20251010
...ox 赞同来自: 两个问题, 一、渲染错误,是由于同一个顶点上有9根骨骼,如果要开启性能优化模式,最大不能超过4个。这个只要超过都会报警告的,留意一下提示信息。 要么让美术改资源,这是最优方案。要么就不使用性能...
来源: Laya_社区 发布时间: 20250822
...用于创建位置、法线、颜色、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalColorTexture0Texture1Skin blendWeight : Vector4[read-only] VertexPositionNormalColorTexture0Texture1Skin color...
来源: laya_api 发布时间: 20170929
...照。 BlinnPhongMaterial enableVertexColor : Boolean 获取是否支持顶点色。 BlinnPhongMaterial normalTexture : BaseTexture 获取法线贴图。 BlinnPhongMaterial renderMode : int[write-only] 设置渲染模式。 BlinnPhongMaterial renderQueue : int 所属渲染队列.BaseMateri...
来源: Laya2.0_api 发布时间: 20190513
...用于创建位置、法线、颜色、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalTexture0Texture1Skin blendWeight : Vector4[read-only] VertexPositionNormalTexture0Texture1Skin normal : Vector...
来源: laya_api 发布时间: 20170929
...。 cacheAs主要通过两方面提升性能。一是减少节点遍历和顶点计算;二是减少drawCall。善用cacheAs将是引擎优化性能的利器。 下例绘制10000个文本(根据电脑性能而定,本例为10000): ```javascript Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); va...
来源: Laya2.0_文档 发布时间: 20210714
...eSkin 类用于创建位置、法线、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalColorTexture0Texture1SkinTangent blendWeight : Vector4[read-only] VertexPositionNormalColorTexture0Texture1SkinTa...
来源: laya_api 发布时间: 20170929
...。 cacheAs主要通过两方面提升性能。一是减少节点遍历和顶点计算;二是减少drawCall。善用cacheAs将是引擎优化性能的利器。 下例绘制10000个文本(根据电脑性能而定,本例为10000): ```typescript class Test { private text:Laya.Text; constructor() ...
来源: Laya2.0_文档 发布时间: 20210714