Archived
deploy.
This commit is contained in:
@@ -732,6 +732,51 @@ All native-backed members become no-ops afterwards
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Disp_DispEngine_IsGlAvailable_" data-uid="Hi.Disp.DispEngine.IsGlAvailable*"></a>
|
||||
|
||||
<h3 id="Hi_Disp_DispEngine_IsGlAvailable" data-uid="Hi.Disp.DispEngine.IsGlAvailable">
|
||||
IsGlAvailable
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Whether this process has a usable OpenGL context, i.e. whether 3D
|
||||
rendering is available at all.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static bool IsGlAvailable { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_Disp_DispEngine_IsGlAvailable_remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>False on a host with no usable GL — a driver whose kernel module and
|
||||
userspace disagree, a container started without <code>/dev/dri</code>, a VM
|
||||
with no 3D pass-through. The process still runs: NC play, physics,
|
||||
training and every non-rendering API are unaffected, because none of
|
||||
them touch the display engine. What is not available is the engine
|
||||
itself, so callers must not construct or ask for a <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>
|
||||
while this is false rather than guarding individual draw calls.
|
||||
Meaningful only after <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_Init_System_String_">Init(string)</a> has run; it is false
|
||||
before that for the same reason it is false on a broken host, so read
|
||||
it only from code that runs after application start-up.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Disp_DispEngine_IsOnDispThread_" data-uid="Hi.Disp.DispEngine.IsOnDispThread*"></a>
|
||||
|
||||
<h3 id="Hi_Disp_DispEngine_IsOnDispThread" data-uid="Hi.Disp.DispEngine.IsOnDispThread">
|
||||
|
||||
Reference in New Issue
Block a user