[LayaAir 2.0]ANGLE_instanced_arrays扩展无用时,PrimitiveMesh动态合并报错
代码包里面我临时屏蔽了
WebGLContext._angleInstancedArrays = null;//WebGLContext._getExtension(gl, "ANGLE_instanced_arrays");
然后代码里Laya.PrimitiveMesh.createQuad创建多个对象后,代码会报错。
看起来像是_createMesh时没有给subMesh赋值_indices
WebGLContext._angleInstancedArrays = null;//WebGLContext._getExtension(gl, "ANGLE_instanced_arrays");
然后代码里Laya.PrimitiveMesh.createQuad创建多个对象后,代码会报错。
看起来像是_createMesh时没有给subMesh赋值_indices
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自: