大约有 211 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...: glGenerateMipmap: Can not generate mips [.Offscreen-For-WebGL-0x61872800]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. WebGL: too many errors, no more errors will be reported to the console for this context. 但...
来源: Laya_社区 发布时间: 20180330
Laya中如何使用canvas 我是这么用的 var canvas = Laya.Render.canvas; var context = canvas.getContext('2d'); context.fillStyle = "#FF0000"; context.fillRect(10,10,100,100); 运行后没有报错,输出canvas和context都有值,但是绘制不生效,请问该如何使用canvas 2018-08-...
来源: Laya_社区 发布时间: 20180803
...metaToValue (/Applications/LayaAirIDE.app/Contents/Resources/electron.asar/renderer/api/remote.js:234:13) at ContextMenu.remoteMemberFunction (/Applications/LayaAirIDE.app/Contents/Resources/electron.asar/renderer/api/remote.js:118:18) at TimerHandler.Timer.__init$.__proto.run (file:///A...
来源: Laya_社区 发布时间: 20191113
拖尾启动卡住 u3d导出trail render,laya加载启动后卡住一两秒,帧数为0的 2018-09-25 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 赞同来自: 提供一下demo 2018-10-06 0 0 分享 微博...
来源: Laya_社区 发布时间: 20180925
...destroyed drawType indexFormat instanceCount mode Methods _getType _prepareRender _render _updateRenderParams addSubMesh clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new StaticBatchSubMesh(): StaticBatchSubMesh Overrides GeometryElement.constructor Define...
来源: Laya3.0_api 发布时间: 20231115
... at WebDefineDatas.addDefineDatas (WebDefineDatas.js:46:30) at WebGLRenderelement2D._compileShader (WebGLRenderElement2D.js:42:24) at WebGLRenderelement2D._prepare (WebGLRenderElement2D.js:48:14) at WebglRenderContext2D.drawRenderElementList (WebGLRenderContext2D.js:119:21) a...
来源: Laya_社区 发布时间: 20250630
...种能实现吗? createDrawMeshCommandBuffer(camera:Camera,renders:BaseRender[],materials:Material[]):CommandBuffer{ var buf:CommandBuffer = new CommandBuffer(); //当需要在流程中拿摄像机渲染效果的时候 设置true camera.enableBuiltInRenderTexture = true; //创建和屏...
来源: Laya_社区 发布时间: 20201218
...gets' of null at WebGLContext2D.__proto.drawCanvas (laya.webgl.js:5713) at RenderContext.__proto.drawCanvas (laya.core.js:5822) at RenderSprite3D.__proto._canvas (laya.core.js:6219) at Sprite.__proto.render (laya.core.js:15680) at RenderSprite3D.__proto._childs (laya.core.js:6201) at RenderSprite3D....
来源: Laya_社区 发布时间: 20181016
...要简单模型10个面以内的。不然的话都是要增加drawcall的 Render类里有判断当前游戏运行的是哪个模式 2018-01-31 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ggg333 相关问题 Layabox 2.0 bate5 运行...
来源: Laya_社区 发布时间: 20180131
...aya.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 ShaderPas...
来源: Laya_社区 发布时间: 20191024