ã¯ããã«
ã©ãããåéã§ãã
ååã«å¼ãç¶ãæè¿æãã£ãç»åãã¼ãé¢é£ãTextureã¯Read/Write(readable)ã¨mipmapã®è¨å®ã«ãã£ã¦ç¢ºä¿ãããã¡ã¢ãªãã¼ãã«å·®ãçã¾ããã®ã§æ³¨æãå¿ è¦ã§ãã
Memory Profiler
Unityã§ãã£ããã£ããç¬éã«ãããã¡ã¢ãªä½¿ç¨ç¨éã確èªã§ããããã±ã¼ã¸ã§ãã
Memory Profilerã§ç¢ºèªããããããããã«ã¯
myTexture.name = "LoadImage";
ãªã©ããã«Textureã«ãå½åãã¦ãããã¨ãã¨ãã確èªãããã
Read/Write
Texture Importer
UnityWebRequestTexture
UnityWebRequestTexture.GetTexture("ç»åURL",false);
nonReadableãªãã·ã§ã³ãfalseã«ãããã¨ã§Read/Writeããªãã«ãããã¨ãã§ããã
mipmap
mipmapã¨ã¯ã¿ã¤ãªã³ã°ããããããªã·ã¼ã³ã«ããã¦ãé ãã®ãªãã¸ã§ã¯ããæªãã§è¦ããªãããã«ããããã«ä½¿ç¨ããã¾ãã
(wikipediaãã)
Texture Importer
UnityWebRequestTexture
UnityWebRequestTextureã§Textureãåå¾ããã¨mipmap levelã8ãªã©ã§ãã¼ããããã®ã§UIåãã®ç»åãªã©ã«é¢ãã¦ã¯mipmapã1ã«ããã»ããè¯ãã