SKTextureAtlas 中的 SKTexture 是否支持 mipmap 功能? [英] Does a SKTexture from a SKTextureAtlas support the mipmap feature?

查看:20
本文介绍了SKTextureAtlas 中的 SKTexture 是否支持 mipmap 功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自苹果文档:如果纹理的两个维度都是 2 的幂,则只能请求 mipmap."

From apples documentation: "You can only request mipmaps if both of the texture’s dimensions are a power of two."

但是,尚不清楚来自 SKTextureAtlas 的 SKTextures 是否也支持此功能(因为它们本质上有点不同).

However, it's unclear whether the SKTextures from SKTextureAtlas's also support this feature (since they're essentially a bit different in nature).

我问这个问题是因为实际上很难从结果中看出是否有任何东西被 mipmap 了.

I ask the question because it's actually hard to see if anything is getting mipmapped from the results.

推荐答案

首先,来自 SKTextureAtlas 的 SKTexture 不支持 mipmapping.其次,有时 mipmapping 甚至不适用于常规的 SKTexture,它在很大程度上取决于它如何嵌套在节点结构中.

First off a SKTexture from a SKTextureAtlas does not support mipmapping. Secondly sometimes mipmapping doesn't even work with a regular SKTexture it depends a lot on how it is nested inside the node structure.

这篇关于SKTextureAtlas 中的 SKTexture 是否支持 mipmap 功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆