Does a SKTexture from a SKTextureAtlas support the mipmap feature?

不想你离开。 提交于 2019-12-23 21:32:40

问题


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

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

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


回答1:


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.



来源:https://stackoverflow.com/questions/22041615/does-a-sktexture-from-a-sktextureatlas-support-the-mipmap-feature

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!