CocosCreator2.0以上渲染流程

tech2026-03-07  1

在cocos creator2.x引擎中,所有的渲染组件都是继承自cc.RenderComponent,例如cc.Sprite、cc.Label等。

文章目录

主要渲染组件说明:cc.RenderComponentcc.Assemblercc.Material 渲染流程:渲染代码调用流程图:

主要渲染组件说明:

cc.RenderComponent
所有支持渲染的组件的基类,在里面做对应Assembler的初始化,指定所用的材质(Material),定义组件的颜色混合模式,同时控制组件的渲染状态更新。
cc.Assembler
主要负责渲染数据的更新组装及填充
cc.Material
主要记录渲染组件的渲染状态,使用的纹理及Shader

渲染流程:

#mermaid-svg-VeWNrsyLIHnetlea .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-VeWNrsyLIHnetlea .label text{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .node rect,#mermaid-svg-VeWNrsyLIHnetlea .node circle,#mermaid-svg-VeWNrsyLIHnetlea .node ellipse,#mermaid-svg-VeWNrsyLIHnetlea .node polygon,#mermaid-svg-VeWNrsyLIHnetlea .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-VeWNrsyLIHnetlea .node .label{text-align:center;fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .node.clickable{cursor:pointer}#mermaid-svg-VeWNrsyLIHnetlea .arrowheadPath{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-VeWNrsyLIHnetlea .flowchart-link{stroke:#333;fill:none}#mermaid-svg-VeWNrsyLIHnetlea .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-VeWNrsyLIHnetlea .edgeLabel rect{opacity:0.9}#mermaid-svg-VeWNrsyLIHnetlea .edgeLabel span{color:#333}#mermaid-svg-VeWNrsyLIHnetlea .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-VeWNrsyLIHnetlea .cluster text{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-VeWNrsyLIHnetlea .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-VeWNrsyLIHnetlea text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-VeWNrsyLIHnetlea .actor-line{stroke:grey}#mermaid-svg-VeWNrsyLIHnetlea .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-VeWNrsyLIHnetlea .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-VeWNrsyLIHnetlea #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-VeWNrsyLIHnetlea .sequenceNumber{fill:#fff}#mermaid-svg-VeWNrsyLIHnetlea #sequencenumber{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea #crosshead path{fill:#333;stroke:#333}#mermaid-svg-VeWNrsyLIHnetlea .messageText{fill:#333;stroke:#333}#mermaid-svg-VeWNrsyLIHnetlea .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-VeWNrsyLIHnetlea .labelText,#mermaid-svg-VeWNrsyLIHnetlea .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-VeWNrsyLIHnetlea .loopText,#mermaid-svg-VeWNrsyLIHnetlea .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-VeWNrsyLIHnetlea .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-VeWNrsyLIHnetlea .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-VeWNrsyLIHnetlea .noteText,#mermaid-svg-VeWNrsyLIHnetlea .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-VeWNrsyLIHnetlea .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-VeWNrsyLIHnetlea .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-VeWNrsyLIHnetlea .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-VeWNrsyLIHnetlea .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .section{stroke:none;opacity:0.2}#mermaid-svg-VeWNrsyLIHnetlea .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-VeWNrsyLIHnetlea .section2{fill:#fff400}#mermaid-svg-VeWNrsyLIHnetlea .section1,#mermaid-svg-VeWNrsyLIHnetlea .section3{fill:#fff;opacity:0.2}#mermaid-svg-VeWNrsyLIHnetlea .sectionTitle0{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .sectionTitle1{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .sectionTitle2{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .sectionTitle3{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-VeWNrsyLIHnetlea .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .grid path{stroke-width:0}#mermaid-svg-VeWNrsyLIHnetlea .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-VeWNrsyLIHnetlea .task{stroke-width:2}#mermaid-svg-VeWNrsyLIHnetlea .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .taskText:not([font-size]){font-size:11px}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-VeWNrsyLIHnetlea .task.clickable{cursor:pointer}#mermaid-svg-VeWNrsyLIHnetlea .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VeWNrsyLIHnetlea .taskText0,#mermaid-svg-VeWNrsyLIHnetlea .taskText1,#mermaid-svg-VeWNrsyLIHnetlea .taskText2,#mermaid-svg-VeWNrsyLIHnetlea .taskText3{fill:#fff}#mermaid-svg-VeWNrsyLIHnetlea .task0,#mermaid-svg-VeWNrsyLIHnetlea .task1,#mermaid-svg-VeWNrsyLIHnetlea .task2,#mermaid-svg-VeWNrsyLIHnetlea .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutside0,#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutside2{fill:#000}#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutside1,#mermaid-svg-VeWNrsyLIHnetlea .taskTextOutside3{fill:#000}#mermaid-svg-VeWNrsyLIHnetlea .active0,#mermaid-svg-VeWNrsyLIHnetlea .active1,#mermaid-svg-VeWNrsyLIHnetlea .active2,#mermaid-svg-VeWNrsyLIHnetlea .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-VeWNrsyLIHnetlea .activeText0,#mermaid-svg-VeWNrsyLIHnetlea .activeText1,#mermaid-svg-VeWNrsyLIHnetlea .activeText2,#mermaid-svg-VeWNrsyLIHnetlea .activeText3{fill:#000 !important}#mermaid-svg-VeWNrsyLIHnetlea .done0,#mermaid-svg-VeWNrsyLIHnetlea .done1,#mermaid-svg-VeWNrsyLIHnetlea .done2,#mermaid-svg-VeWNrsyLIHnetlea .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-VeWNrsyLIHnetlea .doneText0,#mermaid-svg-VeWNrsyLIHnetlea .doneText1,#mermaid-svg-VeWNrsyLIHnetlea .doneText2,#mermaid-svg-VeWNrsyLIHnetlea .doneText3{fill:#000 !important}#mermaid-svg-VeWNrsyLIHnetlea .crit0,#mermaid-svg-VeWNrsyLIHnetlea .crit1,#mermaid-svg-VeWNrsyLIHnetlea .crit2,#mermaid-svg-VeWNrsyLIHnetlea .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-VeWNrsyLIHnetlea .activeCrit0,#mermaid-svg-VeWNrsyLIHnetlea .activeCrit1,#mermaid-svg-VeWNrsyLIHnetlea .activeCrit2,#mermaid-svg-VeWNrsyLIHnetlea .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-VeWNrsyLIHnetlea .doneCrit0,#mermaid-svg-VeWNrsyLIHnetlea .doneCrit1,#mermaid-svg-VeWNrsyLIHnetlea .doneCrit2,#mermaid-svg-VeWNrsyLIHnetlea .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-VeWNrsyLIHnetlea .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-VeWNrsyLIHnetlea .milestoneText{font-style:italic}#mermaid-svg-VeWNrsyLIHnetlea .doneCritText0,#mermaid-svg-VeWNrsyLIHnetlea .doneCritText1,#mermaid-svg-VeWNrsyLIHnetlea .doneCritText2,#mermaid-svg-VeWNrsyLIHnetlea .doneCritText3{fill:#000 !important}#mermaid-svg-VeWNrsyLIHnetlea .activeCritText0,#mermaid-svg-VeWNrsyLIHnetlea .activeCritText1,#mermaid-svg-VeWNrsyLIHnetlea .activeCritText2,#mermaid-svg-VeWNrsyLIHnetlea .activeCritText3{fill:#000 !important}#mermaid-svg-VeWNrsyLIHnetlea .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-VeWNrsyLIHnetlea g.classGroup text .title{font-weight:bolder}#mermaid-svg-VeWNrsyLIHnetlea g.clickable{cursor:pointer}#mermaid-svg-VeWNrsyLIHnetlea g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-VeWNrsyLIHnetlea g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-VeWNrsyLIHnetlea .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-VeWNrsyLIHnetlea .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-VeWNrsyLIHnetlea .dashed-line{stroke-dasharray:3}#mermaid-svg-VeWNrsyLIHnetlea #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea .commit-id,#mermaid-svg-VeWNrsyLIHnetlea .commit-msg,#mermaid-svg-VeWNrsyLIHnetlea .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-VeWNrsyLIHnetlea g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-VeWNrsyLIHnetlea g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-VeWNrsyLIHnetlea g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-VeWNrsyLIHnetlea .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-VeWNrsyLIHnetlea .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-VeWNrsyLIHnetlea .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-VeWNrsyLIHnetlea .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-VeWNrsyLIHnetlea .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-VeWNrsyLIHnetlea .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-VeWNrsyLIHnetlea .edgeLabel text{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VeWNrsyLIHnetlea .node circle.state-start{fill:black;stroke:black}#mermaid-svg-VeWNrsyLIHnetlea .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-VeWNrsyLIHnetlea #statediagram-barbEnd{fill:#9370db}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-state .divider{stroke:#9370db}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-VeWNrsyLIHnetlea .note-edge{stroke-dasharray:5}#mermaid-svg-VeWNrsyLIHnetlea .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-VeWNrsyLIHnetlea .error-icon{fill:#522}#mermaid-svg-VeWNrsyLIHnetlea .error-text{fill:#522;stroke:#522}#mermaid-svg-VeWNrsyLIHnetlea .edge-thickness-normal{stroke-width:2px}#mermaid-svg-VeWNrsyLIHnetlea .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-VeWNrsyLIHnetlea .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-VeWNrsyLIHnetlea .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-VeWNrsyLIHnetlea .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-VeWNrsyLIHnetlea .marker{fill:#333}#mermaid-svg-VeWNrsyLIHnetlea .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-VeWNrsyLIHnetlea { color: rgba(0, 0, 0, 0.75); font: ; } render transform render render & transform render & transform & children RenderFlow Node _renderFlag Transform Render Transform Render Transform Render Children

渲染代码调用流程图:

#mermaid-svg-cArr7pl4VeWXBFsY .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-cArr7pl4VeWXBFsY .label text{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .node rect,#mermaid-svg-cArr7pl4VeWXBFsY .node circle,#mermaid-svg-cArr7pl4VeWXBFsY .node ellipse,#mermaid-svg-cArr7pl4VeWXBFsY .node polygon,#mermaid-svg-cArr7pl4VeWXBFsY .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-cArr7pl4VeWXBFsY .node .label{text-align:center;fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .node.clickable{cursor:pointer}#mermaid-svg-cArr7pl4VeWXBFsY .arrowheadPath{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-cArr7pl4VeWXBFsY .flowchart-link{stroke:#333;fill:none}#mermaid-svg-cArr7pl4VeWXBFsY .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-cArr7pl4VeWXBFsY .edgeLabel rect{opacity:0.9}#mermaid-svg-cArr7pl4VeWXBFsY .edgeLabel span{color:#333}#mermaid-svg-cArr7pl4VeWXBFsY .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-cArr7pl4VeWXBFsY .cluster text{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-cArr7pl4VeWXBFsY .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-cArr7pl4VeWXBFsY text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-cArr7pl4VeWXBFsY .actor-line{stroke:grey}#mermaid-svg-cArr7pl4VeWXBFsY .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-cArr7pl4VeWXBFsY .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-cArr7pl4VeWXBFsY #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-cArr7pl4VeWXBFsY .sequenceNumber{fill:#fff}#mermaid-svg-cArr7pl4VeWXBFsY #sequencenumber{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY #crosshead path{fill:#333;stroke:#333}#mermaid-svg-cArr7pl4VeWXBFsY .messageText{fill:#333;stroke:#333}#mermaid-svg-cArr7pl4VeWXBFsY .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-cArr7pl4VeWXBFsY .labelText,#mermaid-svg-cArr7pl4VeWXBFsY .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-cArr7pl4VeWXBFsY .loopText,#mermaid-svg-cArr7pl4VeWXBFsY .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-cArr7pl4VeWXBFsY .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-cArr7pl4VeWXBFsY .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-cArr7pl4VeWXBFsY .noteText,#mermaid-svg-cArr7pl4VeWXBFsY .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-cArr7pl4VeWXBFsY .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-cArr7pl4VeWXBFsY .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-cArr7pl4VeWXBFsY .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-cArr7pl4VeWXBFsY .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .section{stroke:none;opacity:0.2}#mermaid-svg-cArr7pl4VeWXBFsY .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-cArr7pl4VeWXBFsY .section2{fill:#fff400}#mermaid-svg-cArr7pl4VeWXBFsY .section1,#mermaid-svg-cArr7pl4VeWXBFsY .section3{fill:#fff;opacity:0.2}#mermaid-svg-cArr7pl4VeWXBFsY .sectionTitle0{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .sectionTitle1{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .sectionTitle2{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .sectionTitle3{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-cArr7pl4VeWXBFsY .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .grid path{stroke-width:0}#mermaid-svg-cArr7pl4VeWXBFsY .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-cArr7pl4VeWXBFsY .task{stroke-width:2}#mermaid-svg-cArr7pl4VeWXBFsY .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .taskText:not([font-size]){font-size:11px}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-cArr7pl4VeWXBFsY .task.clickable{cursor:pointer}#mermaid-svg-cArr7pl4VeWXBFsY .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-cArr7pl4VeWXBFsY .taskText0,#mermaid-svg-cArr7pl4VeWXBFsY .taskText1,#mermaid-svg-cArr7pl4VeWXBFsY .taskText2,#mermaid-svg-cArr7pl4VeWXBFsY .taskText3{fill:#fff}#mermaid-svg-cArr7pl4VeWXBFsY .task0,#mermaid-svg-cArr7pl4VeWXBFsY .task1,#mermaid-svg-cArr7pl4VeWXBFsY .task2,#mermaid-svg-cArr7pl4VeWXBFsY .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutside0,#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutside2{fill:#000}#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutside1,#mermaid-svg-cArr7pl4VeWXBFsY .taskTextOutside3{fill:#000}#mermaid-svg-cArr7pl4VeWXBFsY .active0,#mermaid-svg-cArr7pl4VeWXBFsY .active1,#mermaid-svg-cArr7pl4VeWXBFsY .active2,#mermaid-svg-cArr7pl4VeWXBFsY .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-cArr7pl4VeWXBFsY .activeText0,#mermaid-svg-cArr7pl4VeWXBFsY .activeText1,#mermaid-svg-cArr7pl4VeWXBFsY .activeText2,#mermaid-svg-cArr7pl4VeWXBFsY .activeText3{fill:#000 !important}#mermaid-svg-cArr7pl4VeWXBFsY .done0,#mermaid-svg-cArr7pl4VeWXBFsY .done1,#mermaid-svg-cArr7pl4VeWXBFsY .done2,#mermaid-svg-cArr7pl4VeWXBFsY .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-cArr7pl4VeWXBFsY .doneText0,#mermaid-svg-cArr7pl4VeWXBFsY .doneText1,#mermaid-svg-cArr7pl4VeWXBFsY .doneText2,#mermaid-svg-cArr7pl4VeWXBFsY .doneText3{fill:#000 !important}#mermaid-svg-cArr7pl4VeWXBFsY .crit0,#mermaid-svg-cArr7pl4VeWXBFsY .crit1,#mermaid-svg-cArr7pl4VeWXBFsY .crit2,#mermaid-svg-cArr7pl4VeWXBFsY .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-cArr7pl4VeWXBFsY .activeCrit0,#mermaid-svg-cArr7pl4VeWXBFsY .activeCrit1,#mermaid-svg-cArr7pl4VeWXBFsY .activeCrit2,#mermaid-svg-cArr7pl4VeWXBFsY .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-cArr7pl4VeWXBFsY .doneCrit0,#mermaid-svg-cArr7pl4VeWXBFsY .doneCrit1,#mermaid-svg-cArr7pl4VeWXBFsY .doneCrit2,#mermaid-svg-cArr7pl4VeWXBFsY .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-cArr7pl4VeWXBFsY .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-cArr7pl4VeWXBFsY .milestoneText{font-style:italic}#mermaid-svg-cArr7pl4VeWXBFsY .doneCritText0,#mermaid-svg-cArr7pl4VeWXBFsY .doneCritText1,#mermaid-svg-cArr7pl4VeWXBFsY .doneCritText2,#mermaid-svg-cArr7pl4VeWXBFsY .doneCritText3{fill:#000 !important}#mermaid-svg-cArr7pl4VeWXBFsY .activeCritText0,#mermaid-svg-cArr7pl4VeWXBFsY .activeCritText1,#mermaid-svg-cArr7pl4VeWXBFsY .activeCritText2,#mermaid-svg-cArr7pl4VeWXBFsY .activeCritText3{fill:#000 !important}#mermaid-svg-cArr7pl4VeWXBFsY .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-cArr7pl4VeWXBFsY g.classGroup text .title{font-weight:bolder}#mermaid-svg-cArr7pl4VeWXBFsY g.clickable{cursor:pointer}#mermaid-svg-cArr7pl4VeWXBFsY g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-cArr7pl4VeWXBFsY g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-cArr7pl4VeWXBFsY .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-cArr7pl4VeWXBFsY .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-cArr7pl4VeWXBFsY .dashed-line{stroke-dasharray:3}#mermaid-svg-cArr7pl4VeWXBFsY #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY .commit-id,#mermaid-svg-cArr7pl4VeWXBFsY .commit-msg,#mermaid-svg-cArr7pl4VeWXBFsY .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-cArr7pl4VeWXBFsY g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-cArr7pl4VeWXBFsY g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-cArr7pl4VeWXBFsY g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-cArr7pl4VeWXBFsY .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-cArr7pl4VeWXBFsY .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-cArr7pl4VeWXBFsY .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-cArr7pl4VeWXBFsY .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-cArr7pl4VeWXBFsY .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-cArr7pl4VeWXBFsY .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-cArr7pl4VeWXBFsY .edgeLabel text{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-cArr7pl4VeWXBFsY .node circle.state-start{fill:black;stroke:black}#mermaid-svg-cArr7pl4VeWXBFsY .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-cArr7pl4VeWXBFsY #statediagram-barbEnd{fill:#9370db}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-state .divider{stroke:#9370db}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-cArr7pl4VeWXBFsY .note-edge{stroke-dasharray:5}#mermaid-svg-cArr7pl4VeWXBFsY .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-cArr7pl4VeWXBFsY .error-icon{fill:#522}#mermaid-svg-cArr7pl4VeWXBFsY .error-text{fill:#522;stroke:#522}#mermaid-svg-cArr7pl4VeWXBFsY .edge-thickness-normal{stroke-width:2px}#mermaid-svg-cArr7pl4VeWXBFsY .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-cArr7pl4VeWXBFsY .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-cArr7pl4VeWXBFsY .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-cArr7pl4VeWXBFsY .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-cArr7pl4VeWXBFsY .marker{fill:#333}#mermaid-svg-cArr7pl4VeWXBFsY .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-cArr7pl4VeWXBFsY { color: rgba(0, 0, 0, 0.75); font: ; } mainLoop RenderFlow forward-renderer base-renderer forward-renderer forward-renderer base-renderer device cc.Director index.render Render render _render _opaqueStage _drawItems _draw draw
最新回复(0)