大约有 6 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
...mory(M_DeviceBuffer)5.10 Device Buffer Count(C_DeviceBuffer)6. GPU Texture Resource/Memory(GPU 纹理资源/内存)6.1 All Texture Memory(M_AllTexture)6.2 All Texture Count(C_AllTexture)6.3 Texture2D Memory(M_Texture2D)6.4 Texture2D Count(C_Texture2D)6.5 TextureCube Memor...
来源: Laya3.0_文档 发布时间: 20260128
...重的发热。 1.2 纹理格式种类 1.2.1 ASTC ASTC(Adaptive Scalable Texture Compression)是一种世界领先的新型纹理压缩格式。ASTC由ARM和AMD联合开发,2012年发布。是一种基于块的有损压缩算法。它的压缩分块从4x4到12x12最终可以压缩每个像素...
来源: Laya3.0_文档 发布时间: 20251010
...ader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); 使用Graphics.drawTexture并不会自...
来源: Laya3.0_文档 发布时间: 20251010
...参数,各项参数内容如下: 参数 类型 默认值 说明 largeTextureSize [number, number] [1024, 1024] 大纹理尺寸 [宽度, 高度] maxLargeTextures number 4 最大大纹理数量 textureUnitSize number 16 小纹理单元尺寸(用于空间划分) extendSize number 1 纹理扩边尺...
来源: Laya3.0_文档 发布时间: 20260131
...1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { ty...
来源: Laya3.0_文档 发布时间: 20251010
...纹理资源的后缀类型2、纹理资源的通用属性2.1 纹理类型 textureType2.2 环绕模式 wrapMode2.3 过滤模式 filterMode2.4 纹理翻转 flip2.5 纹理旋转 rotate2.6 非2次幂缩放 npot2.7 可读写 readWrite2.8 纹理格式 format3、精灵纹理的专有属性3.1 九宫格 si...
来源: Laya3.0_文档 发布时间: 20251128