mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
1 line
6.7 KiB
JavaScript
1 line
6.7 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8511],{3905:function(e,r,t){t.d(r,{Zo:function(){return c},kt:function(){return m}});var n=t(67294);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function l(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var u=n.createContext({}),p=function(e){var r=n.useContext(u),t=r;return e&&(t="function"==typeof e?e(r):i(i({},r),e)),t},c=function(e){var r=p(e.components);return n.createElement(u.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),f=p(t),m=a,d=f["".concat(u,".").concat(m)]||f[m]||s[m]||o;return t?n.createElement(d,i(i({ref:r},c),{},{components:t})):n.createElement(d,i({ref:r},c))}));function m(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=f;var l={};for(var u in r)hasOwnProperty.call(r,u)&&(l[u]=r[u]);l.originalType=e,l.mdxType="string"==typeof e?e:a,i[1]=l;for(var p=2;p<o;p++)i[p]=t[p];return n.createElement.apply(null,i)}return n.createElement.apply(null,t)}f.displayName="MDXCreateElement"},77848:function(e,r,t){t.r(r),t.d(r,{assets:function(){return c},contentTitle:function(){return u},default:function(){return m},frontMatter:function(){return l},metadata:function(){return p},toc:function(){return s}});var n=t(87462),a=t(63366),o=(t(67294),t(3905)),i=["components"],l={sidebar_position:1,description:"\u76d1\u6d4b\u66f4\u591a\u6027\u80fd\u6570\u636e\u3002"},u="\u65b0\u6027\u80fd\u6307\u6807",p={unversionedId:"user-guide/profiler/profiler-features",id:"version-3.0.0/user-guide/profiler/profiler-features",title:"\u65b0\u6027\u80fd\u6307\u6807",description:"\u76d1\u6d4b\u66f4\u591a\u6027\u80fd\u6570\u636e\u3002",source:"@site/versioned_docs/version-3.0.0/user-guide/profiler/profiler-features.md",sourceDirName:"user-guide/profiler",slug:"/user-guide/profiler/profiler-features",permalink:"/cocos-enhance-kit/docs/user-guide/profiler/profiler-features",draft:!1,tags:[],version:"3.0.0",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"\u76d1\u6d4b\u66f4\u591a\u6027\u80fd\u6570\u636e\u3002"},sidebar:"tutorialSidebar",previous:{title:"Profiler",permalink:"/cocos-enhance-kit/docs/user-guide/profiler/profiler-intro"},next:{title:"\u7834\u574f\u6027\u53d8\u66f4",permalink:"/cocos-enhance-kit/docs/breaking-change"}},c={},s=[],f={toc:s};function m(e){var r=e.components,l=(0,a.Z)(e,i);return(0,o.kt)("wrapper",(0,n.Z)({},f,l,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"\u65b0\u6027\u80fd\u6307\u6807"},"\u65b0\u6027\u80fd\u6307\u6807"),(0,o.kt)("p",null,"\u901a\u8fc7\u5b8f\u542f\u7528\u540e\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"demo6",src:t(79890).Z,width:"350",height:"152"})),(0,o.kt)("p",null,"\u4f1a\u65b0\u589e\u4ee5\u4e0b\u51e0\u4e2a\u975e\u5e38\u6709\u7528\u7684\u6307\u6807\uff1a"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Label Canvas\uff08Label \u7ec4\u4ef6\u7684 Canvas \u6570\u91cf\uff09")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"\u6307\u6807\uff1a(\u7528\u91cf) / (\u603b\u91cf)"),(0,o.kt)("li",{parentName:"ul"},"\u7528\u91cf\uff1a\u6307\u6b63\u5728\u4f7f\u7528\u7684 Canvas \u5bf9\u8c61\u6570\u91cf\uff0c\u4e00\u822c\u6bcf\u4e2a\u975e CHAR \u6a21\u5f0f\u7684 Label \u90fd\u4f1a\u4f7f\u7528\u4e00\u4e2a Canvas \u5bf9\u8c61\uff0c\u76f4\u5230\u88ab\u9500\u6bc1\u3002"),(0,o.kt)("li",{parentName:"ul"},"\u603b\u91cf\uff1a\u6307\u5f15\u64ce\u5185\u90e8\u7ef4\u62a4\u7684 Canvas \u6c60\u4e2d Canvas \u5bf9\u8c61\u7684\u603b\u6570\u91cf\u3002")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Char Atlas\uff08Char \u5b57\u7b26\u56fe\u96c6\u4f7f\u7528\u60c5\u51b5\uff09")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"\u6307\u6807\uff1a(\u7528\u91cf) / (\u7f13\u5b58\u6570\u91cf) / (\u603b\u91cf)"),(0,o.kt)("li",{parentName:"ul"},"\u7528\u91cf\uff1a\u6307\u6b63\u5728\u5360\u7528\u7684\u50cf\u7d20\u6570\u91cf\uff0c\u6ce8\u610f\u8fd9\u662f\u901a\u8fc7\u6bcf\u5757\u533a\u57df\u7684\u50cf\u7d20\u5360\u6bd4\u8fdb\u884c\u4f30\u7b97\u5f97\u51fa\uff0c\u4f1a\u5b58\u5728\u5c0f\u6570\u70b9\uff0c\u6bd4\u5982 2.8 \u5219\u8868\u793a\u5360\u7528\u4e86 2.8 \u5f20\u56fe\u96c6\u5927\u5c0f\u3002"),(0,o.kt)("li",{parentName:"ul"},"\u7f13\u5b58\u6570\u91cf\uff1a\u8ba1\u7b97\u65b9\u5f0f\u4e0e\u7528\u91cf\u76f8\u540c\uff0c\u4f46\u5305\u62ec\u65e0\u5f15\u7528\u7684\u5b57\u7b26\u533a\u57df\uff0c\u8fd9\u610f\u5473\u7740\u968f\u65f6\u53ef\u80fd\u88ab\u91ca\u653e\u3002"),(0,o.kt)("li",{parentName:"ul"},"\u603b\u91cf\uff1a\u6307\u5f15\u64ce\u5df2\u521b\u5efa\u7684\u5b57\u7b26\u56fe\u96c6\u6570\u91cf\u3002")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Dynamic Atlas\uff08\u52a8\u6001\u56fe\u96c6\u4f7f\u7528\u60c5\u51b5\uff09")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"\u6307\u6807\uff1a(\u7528\u91cf) / (\u5f53\u524d\u6570\u91cf) / (\u6700\u5927\u6570\u91cf)"),(0,o.kt)("li",{parentName:"ul"},"\u7528\u91cf\uff1a\u6307\u6b63\u5728\u5360\u7528\u7684\u50cf\u7d20\u6570\u91cf\uff0c\u6ce8\u610f\u8fd9\u662f\u901a\u8fc7\u6bcf\u5757\u533a\u57df\u7684\u50cf\u7d20\u5360\u6bd4\u8fdb\u884c\u4f30\u7b97\u5f97\u51fa\uff0c\u4f1a\u5b58\u5728\u5c0f\u6570\u70b9\uff0c\u6bd4\u5982 2.8 \u5219\u8868\u793a\u5360\u7528\u4e86 2.8 \u5f20\u56fe\u96c6\u5927\u5c0f\u3002"),(0,o.kt)("li",{parentName:"ul"},"\u5f53\u524d\u6570\u91cf\uff1a\u6307\u5f15\u64ce\u5df2\u521b\u5efa\u7684\u5b57\u7b26\u56fe\u96c6\u6570\u91cf\u3002"),(0,o.kt)("li",{parentName:"ul"},"\u6700\u5927\u6570\u91cf\uff1a\u6307\u5f53\u524d\u8bbe\u7f6e\u7684 ",(0,o.kt)("inlineCode",{parentName:"li"},"maxAtlasCount")," \u503c\u3002")))}m.isMDXComponent=!0},79890:function(e,r,t){r.Z=t.p+"assets/images/demo6-56d57634201f968039d2b7a3d76a8269.png"}}]); |