cocos-enhance-kit/assets/js/0beed46f.5da7eec7.js
2024-12-20 14:47:15 +08:00

1 line
6.7 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1635],{3905:function(e,t,r){r.d(t,{Zo:function(){return c},kt:function(){return m}});var n=r(67294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),f=p(r),m=a,d=f["".concat(u,".").concat(m)]||f[m]||s[m]||o;return r?n.createElement(d,i(i({ref:t},c),{},{components:r})):n.createElement(d,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:a,i[1]=l;for(var p=2;p<o;p++)i[p]=r[p];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}f.displayName="MDXCreateElement"},45592:function(e,t,r){r.r(t),r.d(t,{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=r(87462),a=r(63366),o=(r(67294),r(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:"user-guide/profiler/profiler-features",title:"\u65b0\u6027\u80fd\u6307\u6807",description:"\u76d1\u6d4b\u66f4\u591a\u6027\u80fd\u6570\u636e\u3002",source:"@site/docs/user-guide/profiler/profiler-features.md",sourceDirName:"user-guide/profiler",slug:"/user-guide/profiler/profiler-features",permalink:"/cocos-enhance-kit/docs/next/user-guide/profiler/profiler-features",draft:!1,tags:[],version:"current",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/next/user-guide/profiler/profiler-intro"},next:{title:"\u7834\u574f\u6027\u53d8\u66f4",permalink:"/cocos-enhance-kit/docs/next/breaking-change"}},c={},s=[],f={toc:s};function m(e){var t=e.components,l=(0,a.Z)(e,i);return(0,o.kt)("wrapper",(0,n.Z)({},f,l,{components:t,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:r(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,t,r){t.Z=r.p+"assets/images/demo6-56d57634201f968039d2b7a3d76a8269.png"}}]);