This commit is contained in:
2026-09-13 19:45:24 +08:00
parent 397a7a8cc4
commit 2db889ad89
58 changed files with 3526 additions and 213 deletions
@@ -1808,6 +1808,35 @@ which mouse buttons perform which transformations:</p>
<a id="Hi_Disp_DispEngine_MouseLeave_" data-uid="Hi.Disp.DispEngine.MouseLeave*"></a>
<h3 id="Hi_Disp_DispEngine_MouseLeave" data-uid="Hi.Disp.DispEngine.MouseLeave">
MouseLeave()
</h3>
<div class="markdown level1 summary"><p>The cursor left the canvas, e.g. onto an element laid over it. The next pick pass sends
<span class="xref">Hi.Disp.PickEvent</span> Mouse_Exited to the hovered pickable, if any; the cursor position and
the drag state are untouched, so a drag that returns to the canvas continues normally.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void MouseLeave()</code></pre>
</div>
<a id="Hi_Disp_DispEngine_MouseMove_" data-uid="Hi.Disp.DispEngine.MouseMove*"></a>
<h3 id="Hi_Disp_DispEngine_MouseMove_System_Int32_System_Int32_" data-uid="Hi.Disp.DispEngine.MouseMove(System.Int32,System.Int32)">
@@ -2623,17 +2652,18 @@ The function unlock the opengl context for <a class="xref" href="Hi.Disp.DispEng
<h3 id="Hi_Disp_DispEngine_ImageRequestAfterBufferSwapped" data-uid="Hi.Disp.DispEngine.ImageRequestAfterBufferSwapped">
ImageRequestAfterBufferSwapped
<h3 id="Hi_Disp_DispEngine_FrameReady" data-uid="Hi.Disp.DispEngine.FrameReady">
FrameReady
</h3>
<div class="markdown level1 summary"><p>Triggered after swap buffer of gl context.</p>
<div class="markdown level1 summary"><p>Triggered on the render thread after every frame whose pixels or pin table changed.
Handlers must not touch the engine's GL state and must not block.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event DispEngine.ImageRequestedDelegate ImageRequestAfterBufferSwapped</code></pre>
<pre><code class="lang-csharp hljs">public event DispEngine.FrameReadyDelegate FrameReady</code></pre>
</div>
@@ -2643,7 +2673,7 @@ The function unlock the opengl context for <a class="xref" href="Hi.Disp.DispEng
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>.<a class="xref" href="Hi.Disp.DispEngine.ImageRequestedDelegate.html">ImageRequestedDelegate</a></dt>
<dt><a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>.<a class="xref" href="Hi.Disp.DispEngine.FrameReadyDelegate.html">FrameReadyDelegate</a></dt>
<dd></dd>
</dl>