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

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

41. LayaAir IDE 2.2.0beta2版本2d粒子不能用了,LayaAir IDE 2.1.0版本正常 [ 53%]

...2.1.0版本正常 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'.     at ParticleShader._compile (libs/laya.core.js:2554)     at ParticleShader.recreateResource (libs/laya.core.js:2529)     at new Shader (libs/laya.cor...

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

42. Laya2.0 的3d截图 [ 53%]

...享下,直接上代码了 shot_4_4_4_4():void{         let gl:WebGL2RenderingContext = (Laya.WebGLContext as any).mainContext;         let pixels:Uint8Array = new Uint8Array(gl.drawingBufferWidth*gl.drawingBufferHeight*4);         gl.readPixels(0,0,gl.drawingBuffer...

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

43. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 53%]

...   })   错误信息:TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'   2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 1554865771...

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

44. IOS15显示乱掉了,非常严重,下周就上线了,今天更新了IOS15,问题全来了 [ 53%]

...个属于花屏问题,你只加了黑屏问题的解决方案。设置useWebGL2为false就好了。 Laya_Fred • 2021-09-30 10:47 @张燕海: 解决方案内的抗锯齿与webgl2的设置,需要在初始化之前完成。 张燕海 • 2021-09-30 10:58 好的,我再试下。

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

45. [LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 [ 51%]

...(WebGLRenderContext2D.js:137:71)     at WebGLSetRendertarget2DCMD.apply (WebGL2DRenderCMD.js:18:17)     at WebGLRenderContext2D.js:159:21     at Array.forEach (<anonymous>)     at WebglRenderContext2D.runCMDList (WebGLRenderContext2D.js:158:14)     at CommandBuffer2D.apply (CommandBu...

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

46. 微信3D小游戏 ,Laya2.2.0 在微信工具中运行,WebGLShader 崩溃,如截图,100%重现,在安卓/iOS真机上不出这个问题 [ 51%]

...   laya.d3.js:1 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader'.    at ShaderInstance._createShader (laya.d3.js:1)     at ShaderInstance._create (laya.d3.js:1)     at new ShaderInstance (laya.d3.js:1)     at Shad...

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

47. [LayaAir3]调用renderTexture.getDataAsync且同时勾选camera的hdr或msaa,webgl必报错 [ 50%]

...DataAsync(0, 0, 50, 28, out) as Uint8Array; let gl:WebGLRenderingContext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; let errorCode:number = gl.getError(); if(errorCode != 0) {     console.log("webgl报错了,错误代码为" + errorCode); }   3 camera勾选hdr或者msaa   运行...

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

48. [LayaAir3]3.3.1+3.3.2 多个后期处理增删会导致webgl报错 [ 49%]

...One (WebGLRenderContext2D.js:156:14)     at WebGLDraw2DElementCMD.apply (WebGL2DRenderCMD.js:32:21)     at WebGLRenderContext2D.js:166:21     at Array.forEach (<anonymous>)     at WebglRenderContext2D.runCMDList (WebGLRenderContext2D.js:165:14)     at CommandBuffer2D.apply (CommandBu...

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

49. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 21%]

...enderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy RenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _inPool _isCameraTarget _renderTarget destoryedImmediately loc...

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