大约有 679 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0083 秒)
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya3.0_api 发布时间: 20231115
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya3.0_api 发布时间: 20231115
...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...
来源: Laya3.0_api 发布时间: 20231115
...t TypeError: Cannot read property 'btCollisionObject' of undefined Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 项目分包后, 运行出错 官网示例摇一摇...
来源: Laya_社区 发布时间: 20180322
...引擎报错 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
...长则为1000ms/120。 画布抗锯齿 是否开启抗锯齿;用于设置webGL上下文的antialias抗锯齿开关属性,会产生额外的性能消耗,主要用于2D非矩形的矢量绘图抗锯齿,无矢量绘制图形或性能压力大时,可以选择不开启。3D抗锯齿推荐使用...
来源: Laya3.0_文档 发布时间: 20251014
...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