大约有 6 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0026 秒)
... format = exports.TextureFormat.ETC1RGB; break; case "pvr": format = exports.Tex...
来源: Laya_社区 发布时间: 20201130
... }, constructParams: [undefined, undefined, Laya.TextureFormat.R8G8B8A8, true, true] }).then((texture: any) => {} 因为我需要读取PNG图片像素点 所以加载使用了上图的方式(canRead:true),但是图片加载...
来源: Laya_社区 发布时间: 20250819
...信 181*****321 赞同来自: constructParams: [undefined, undefined, Laya.TextureFormat.R8G8B8A8, true, true] 2025-08-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 MAR 相关问题 我崩了2.13.0 sourcemap生成错误,直接没...
来源: Laya_社区 发布时间: 20190110
..., "powerOfTwo": false,//生成的图集是否尺寸保持在2的整次幂 "textureFormat": "png32"//png32和png8 }, //是针对散图的设置 "sprite": { //width和height分别是允许的散图尺寸,不符合要求的会被复制到resDir "width": 512, "height": 512, //每张散图在图集中...
来源: Laya_社区 发布时间: 20161201
... let texture2d: Laya.Texture2D = new Laya.Texture2D(w,h,Laya.TextureFormat.R8G8B8A8,false,false); texture2d.setPixels(pixels); let tex: Laya.Texture = new Laya.Texture(texture2d); let sp:Laya.Sprite = new Laya.Sprite(tex); }大致...
来源: Laya_社区 发布时间: 20200815
...reshCamera(); //在U方向上使用WARPMODE_CLAMP // texture.format = Laya.TextureFormat.ASTC10x10 texture.wrapModeU = Laya.BaseTexture.WARPMODE_CLAMP; //在V方向使用WARPMODE_REPEAT texture.wrapModeV = Laya.BaseTexture.WARPMODE_CLAMP; //设置过滤方式 texture.filterMode = Laya.BaseTexture.FI...
来源: Laya_社区 发布时间: 20220815