mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Updated docs.
This commit is contained in:
14
build.html
14
build.html
@@ -455,9 +455,7 @@ instead) inside different build system.</p>
|
||||
</div>
|
||||
<div class="section" id="oculusvr-integration">
|
||||
<h2>OculusVR Integration<a class="headerlink" href="#oculusvr-integration" title="Permalink to this headline">¶</a></h2>
|
||||
<p>OculusVR support is currently experimental, and only DX11 is tested. To
|
||||
build with OculusVR HMD support enabled you must set <code class="docutils literal"><span class="pre">OVR_DIR</span></code>
|
||||
enviroment variable:</p>
|
||||
<p>To build with OculusVR HMD support enabled you must set <code class="docutils literal"><span class="pre">OVR_DIR</span></code> enviroment variable:</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre>set OVR_DIR=<path to OculusSDK>
|
||||
</pre></div>
|
||||
</div>
|
||||
@@ -465,16 +463,6 @@ enviroment variable:</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre>genie --with-ovr vs2012
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>In <code class="docutils literal"><span class="pre">LibOVR/Include</span></code> create trampoline headers <code class="docutils literal"><span class="pre">OVR_D3D.h</span></code> and
|
||||
<code class="docutils literal"><span class="pre">OVR_GL.h</span></code>.</p>
|
||||
<p><code class="docutils literal"><span class="pre">OVR_D3D.h</span></code> should contain:</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre><span class="c">#include "../Src/OVR_CAPI_D3D.h"</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p><code class="docutils literal"><span class="pre">OVR_GL.h</span></code> should contain:</p>
|
||||
<div class="highlight-python"><div class="highlight"><pre><span class="c">#include "../Src/OVR_CAPI_GL.h"</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="alternative-build-systems">
|
||||
<h2>Alternative build systems<a class="headerlink" href="#alternative-build-systems" title="Permalink to this headline">¶</a></h2>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user