大约有 704 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
...引擎报错 mPlugin.game_plugin_init(3); runtime运行报错! Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-03-21 10:17 浏览: 1229 关注: 2 人 qian • 2018-03-21 10:20 https://...
来源: Laya_社区 发布时间: 20180319
...layabox.com/question/8247 yinglei999 • 2017-11-22 14:05 laya.d3.js:28554 WebGL: INVALID_VALUE: uniformMatrix4fv: invalid size __proto._uniformMatrix4fv @ laya.d3.js:28554 __proto.uploadSpriteUniforms @ laya.d3.js:28745 __proto._render @ laya.d3.js:4064 __proto._renderScene @ laya.d3.js:26533 __pro...
来源: Laya_社区 发布时间: 20170428
...。纹理压缩因为要依托于显卡的硬件加速,所以,只能是webGL模式可用。另外,就是不同平台(操作系统)的格式也有所不同。例如,我们在Android平台是`.ktx`后缀的ETC1格式,在iOS平台是`.pvr`后缀的PVRTC格式。 如果想对纹理压缩...
来源: Laya2.0_文档 发布时间: 20210714
...如下所示: ```typescript //初始化引擎 Laya.init(600, 400, Laya.WebGL); Laya.stage.bgColor = "#ffcccc"; var data = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); ``` ...
来源: Laya2.0_文档 发布时间: 20210714