{"id":2207,"date":"2020-08-21T23:35:54","date_gmt":"2020-08-21T15:35:54","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=2207"},"modified":"2020-08-21T23:35:54","modified_gmt":"2020-08-21T15:35:54","slug":"unity%e4%bd%bf%e7%94%a8unitystats%e7%b1%bb%e5%9c%a8%e5%bc%80%e5%8f%91%e6%97%b6%e7%bb%9f%e8%ae%a1%e5%90%84%e9%a1%b9%e6%8c%87%e6%a0%87","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=2207","title":{"rendered":"[Unity]\u4f7f\u7528UnityStats\u7c7b\u5728\u5f00\u53d1\u65f6\u7edf\u8ba1\u5404\u9879\u6307\u6807"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>namespace UnityEditor\n{\n    public sealed class UnityStats\n    {\n        public UnityStats();\n\n        public static int ibUploadBytes { get; }\n        public static int ibUploads { get; }\n        public static int vboUploadBytes { get; }\n        public static int vboUploads { get; }\n        public static int vboTotalBytes { get; }\n        public static int vboTotal { get; }\n        public static int screenBytes { get; }\n        public static string screenRes { get; }\n        public static int usedTextureCount { get; }\n        public static int usedTextureMemorySize { get; }\n        public static int renderTextureBytes { get; }\n        public static int renderTextureCount { get; }\n        public static float audioStreamLoad { get; }\n        public static float audioDSPLoad { get; }\n        public static float audioClippingAmount { get; }\n        public static float audioLevel { get; }\n        public static float renderTime { get; }\n        public static int batches { get; }\n        public static int drawCalls { get; }\n        public static int dynamicBatchedDrawCalls { get; }\n        public static int staticBatchedDrawCalls { get; }\n        public static int instancedBatchedDrawCalls { get; }\n        public static int dynamicBatches { get; }\n        public static int visibleSkinnedMeshes { get; }\n        public static int staticBatches { get; }\n        public static int setPassCalls { get; }\n        public static int triangles { get; }\n        public static int vertices { get; }\n        public static int shadowCasters { get; }\n        public static int renderTextureChanges { get; }\n        public static float frameTime { get; }\n        public static int instancedBatches { get; }\n        public static int visibleAnimations { get; }\n    }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[18],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2207"}],"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=2207"}],"version-history":[{"count":1,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2207\/revisions"}],"predecessor-version":[{"id":2208,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2207\/revisions\/2208"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}