{"id":1963,"date":"2020-05-27T15:51:18","date_gmt":"2020-05-27T07:51:18","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=1963"},"modified":"2020-09-27T19:58:36","modified_gmt":"2020-09-27T11:58:36","slug":"unitygraphicstier","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=1963","title":{"rendered":"[Unity]GraphicsTier-Unity\u56fe\u5f62\u7ea7\u522b"},"content":{"rendered":"\n<p><strong>Graphics.activeTier<\/strong><br>\u5f53\u524d\u8bbe\u5907\u7684\u56fe\u5f62\u6863\u4f4d<br>\u66f4\u6539\u6b64\u503c\u4f1a\u5f71\u54cd\u6240\u6709\u968f\u540e\u52a0\u8f7d\u7684\u7740\u8272\u5668<br>\u6b64\u503c\u4e00\u5f00\u59cb\u662f\u6839\u636e\u5f53\u524d\u7684\u786c\u4ef6\uff0c\u81ea\u52a8\u68c0\u6d4b\u5f97\u5230\u7684\uff0c\u4e5f\u53ef\u4ee5\u4fee\u6539\u5b83\uff1b<\/p>\n\n\n\n<p><strong>GraphicsTier.Tier1 &#8211; \u4f4e\u6863<\/strong>\u3010\u5783\u573e\u624b\u673a\u3011<br>\u5bf9\u5e94\u5728Shader\u4e2d\u5b9a\u4e49\uff1aUNITY_HARDWARE_TIER1<br>\u6b64\u6863\u4f4d\u9002\u7528\u4e8e\uff1a <br>&#8211; \u4e0d\u652f\u6301OpenGL ES3\u7684Android\u8bbe\u5907<br>&#8211; iPhone 5, 5C \u53ca\u5176\u66f4\u65e9\u7684\u8bbe\u5907<br>&#8211; iPod Touch \u7b2c5\u4ee3\u53ca\u5176\u66f4\u65e9\u7684\u8bbe\u5907<br>&#8211; iPad \u7b2c4\u4ee3\u53ca\u5176\u66f4\u65e9\u7684\u8bbe\u5907<br>&#8211; iPad Mini 1\u4ee3<br>&#8211; DirectX 9 \u684c\u9762\u786c\u4ef6 &#8211; HoloLens<\/p>\n\n\n\n<p><strong>GraphicsTier.Tier2 &#8211; \u4e2d\u6863<\/strong>\u3010\u73b0\u4ee3\u624b\u673a\u3011<br>  \u5bf9\u5e94\u5728Shader\u4e2d\u5b9a\u4e49\uff1aUNITY_HARDWARE_TIER2<br> \u6b64\u6863\u4f4d\u9002\u7528\u4e8e\uff1a  <br> &#8211; \u652f\u6301OpenGL ES3.0+\u7684Android\u8bbe\u5907 <br> &#8211; iPhone 5S \u53ca\u66f4\u65e9\u8bbe\u5907<br> &#8211; iPod Touch \u7b2c6\u4f4d<br> &#8211; iPad Air \u53ca\u66f4\u9ad8<br> &#8211; iPad Mini \u7b2c2\u4ee3\u53ca\u66f4\u65e9\u8bbe\u5907<br> &#8211; Apple TV<\/p>\n\n\n\n<p><strong>GraphicsTier.Tier3 &#8211; \u9ad8\u6863<\/strong>\u3010\u684c\u9762\u8bbe\u5907\u3011<br>  \u5bf9\u5e94\u5728Shader\u4e2d\u5b9a\u4e49\uff1aUNITY_HARDWARE_TIER2<br>  \u6b64\u6863\u4f4d\u9002\u7528\u4e8e\uff1a   <br> &#8211; \u684c\u9762\u7ea7OpenGL \u6216\u8005 DirectX 11+ \u7c7b\u578b\u786c\u4ef6<br> &#8211; Macs\u673aMetal<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Graphics.activeTier\u5f53\u524d\u8bbe\u5907\u7684\u56fe\u5f62\u6863\u4f4d\u66f4\u6539\u6b64\u503c\u4f1a\u5f71\u54cd\u6240\u6709\u968f\u540e\u52a0\u8f7d\u7684\u7740\u8272\u5668\u6b64\u503c\u4e00\u5f00\u59cb\u662f\u6839\u636e\u5f53\u524d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1963"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1963"}],"version-history":[{"count":4,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1963\/revisions"}],"predecessor-version":[{"id":1968,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1963\/revisions\/1968"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}