rent engine layer tree.</p>
<p>Therefore, when implementing a subclass of the <code>Layer</code> concept defined in
the rendering layer of Flutter's framework, once this is called, there's
no need to call <code>addToScene</code> for its children layers.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">EngineLayer addRetained(EngineLayer retainedLayer) native &#39;SceneBuilder_