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

大约有 20 项符合查询结果, 库内数据总量为 30,960 项。 (搜索耗时: 0.0023 秒)

1. Failed to execute 'texImage2D怎么处理? [ 100%]

Failed to execute 'texImage2D怎么处理? 我用 var _texture2d:Texture2D = new Texture2D(); _texture2d.onAsynLoaded(null, image); image是一个base64数据, 然后就报下面的错误 "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signatur...

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

2. "Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 99%]

"Failed to execute 'texImage2D' on 'WebGLRenderingContext' "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided."  加载3d 模型总是报这个错误,png的图片都无法用,只能改成jpg的,想问一下是什么原因导...

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

3. ios native 2D游戏 ,看instrument 中teximage2d()花费的开销有点大,请问如何减少这部分开销 [ 98%]

ios native 2D游戏 ,看instrument 中teximage2d()花费的开销有点大,请问如何减少这部分开销 2020-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 ...

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

4. WebGL: INVALID_VALUE: texImage2D: width or height out of range [ 97%]

WebGL: INVALID_VALUE: texImage2D: width or height out of range 这个出现的非常突然,会不会有什么问题? 附件 : --> 2017-11-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达...

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

5. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 96%]

TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' 使用1.7.15或16,在项目总增加如下几句,在layaAir内测试可以正常(以下资源是拷贝自GitHub上官网的范例包下的资源: // 创建天空盒 var skyBox:Laya.SkyBox = new Laya.SkyBox(); //清除标...

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

6. LayaNative appLoader.js中偶发_targets为undefined的问题 [ 84%]

...oader.js中,搜索“_targets”后发现错误位置在GLCommandEncoder.texImage2D方法内的下列语句:texImage2D(_args) { var args = arguments; if (args.length == 6) { if (args[5]._nativeObj) { this.add_iiiiiii(FUNCTION_ID.TEXIMAGE2D, args[0], args[1], args[2], args[3], args[4], args[5]._n...

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

7. Laya 使用VideoTexture播放视频 [ 76%]

...lement来实现MovieTexture的项目。查看源码,发现是使用了gl.texImage2D这个webgl接口,百度一下之后:void gl.texImage2D(target, level, internalformat, width, height, border, format, type, HTMLVideoElement source); 最后一个参数支持HTMLVideoElement对象,于是就想...

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

8. oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; [ 69%]

...; if (Render.isConchApp){ source.setPremultiplyAlpha(premultiplyAlpha); gl.texImage2D(this._glTextureType,0,/*laya.webgl.WebGLContext.RGBA*/0x1908,/*laya.webgl.WebGLContext.RGBA*/0x1908,/*laya.webgl.WebGLContext.UNSIGNED_BYTE*/0x1401,source); }else { (premultiplyAlpha)&& (gl.pixelStorei(/*la...

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

9. INSTALL_FAILED_NO_MATCHING_ABIS [ 61%]

...Request failed status:0 Array buffer allocation failed Failed to execute 'texImage2D怎么处理? WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Alloca...

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

10. Failed to construct 'AudioContext' [ 60%]

...start. Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to execute 'texImage2D怎么处理? httprequest ios手机上请求提示Request failed status:0 Array buffer allocation failed WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header httpRequest send返回Request ...

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