大约有 317 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(104) Laya_社区(79) Laya2.0_api(62) laya_api(58) Laya2.0_文档(7) Laya3.0_文档(5) Laya2.0_示例(1) Laya_示例(1)
... 2018-07-02 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,...
来源: Laya_社区 发布时间: 20180702
...canvas下资源释放的问题 现在面板关闭的时候我会调用clearTextureRes清理,现在发现在canvas模式下,再次打开界面有可能会有皮肤丢失。这个方法canvas下不能使用吗,求大神指点 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180425
...清除,所有的该图片都失效,引用计数不是有多处?clearTextureRes方法,可解决该问题,但会导致现有的图片重新渲染闪一下,并不完美。 2018-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180227
...Group(group:String):void 根据分组清理资源。 LoaderManager clearTextureRes(url:String):void 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理te...
来源: Laya2.0_api 发布时间: 20190513
...与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源...
来源: Laya_社区 发布时间: 20180209
...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont getMaxHeight():Number 获取最大字符高度。 BitmapFont...
来源: Laya2.0_api 发布时间: 20190513
... 如题。Laya内部有大图集功能。如果我使用了一张64x64的Texture,使用完毕之后,调用了Texture.destory(true)函数。那么当大图集所有区域都填充满了之后,大图集会将64x64的区域标记销毁掉,然后填充其它的64x64纹理吗? 2017-12-07 添加...
来源: Laya_社区 发布时间: 20171207
...参数,各项参数内容如下: 参数 类型 默认值 说明 largeTextureSize [number, number] [1024, 1024] 大纹理尺寸 [宽度, 高度] maxLargeTextures number 4 最大大纹理数量 textureUnitSize number 16 小纹理单元尺寸(用于空间划分) extendSize number 1 纹理扩边尺...
来源: Laya3.0_文档 发布时间: 20260131
...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont getMaxHeight():Number 获取最大字符高度。 BitmapFont...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By...
来源: laya_api 发布时间: 20170929