Updated docs.

This commit is contained in:
Branimir Karadžić
2015-08-14 21:33:38 -07:00
parent 6d99008323
commit adfedb5890
3 changed files with 22 additions and 15 deletions

View File

@@ -431,9 +431,11 @@ configuration file, it has to be set manually for each example project:</p>
<div class="highlight-python"><div class="highlight"><pre>../bx/tools/bin/windows/genie --vs=winphone81 vs2013
</pre></div>
</div>
<p>Build the resulting solution and deploy to device. Note that shaders
will need to be compiled with the appropriate target profile for your
platform.</p>
<p>Build the resulting solution and deploy to device.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Shaders will need to be compiled with the appropriate target profile for your platform.</p>
</div>
</div>
</div>
<div class="section" id="amalgamated-build">

View File

@@ -568,18 +568,23 @@ int main(...
bgfx::init();
</pre></div>
</div>
<p><strong>NOTE</strong> You can use <code class="docutils literal"><span class="pre">--with-sdl</span></code> when runnning GENie to enable SDL2
integration with examples:</p>
<div class="highlight-python"><div class="highlight"><pre>genie --with-sdl vs2012
</pre></div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">You can use <code class="docutils literal"><span class="pre">--with-sdl</span></code> when runnning GENie to enable SDL2 integration with examples:
<code class="docutils literal"><span class="pre">genie</span> <span class="pre">--with-sdl</span> <span class="pre">vs2012</span></code></p>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last"><code class="docutils literal"><span class="pre">--with-glfw</span></code> is also available, but it&#8217;s just simple stub to be used to test GLFW
integration API.</p>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Special care is necessary to make custom windowing to work with multithreaded renderer.
Each platform has rules about where renderer can be and how multithreading interacts
with context/device. To disable multithreaded render use <code class="docutils literal"><span class="pre">BGFX_CONFIG_MULTITHREDED=0</span></code>
preprocessor define.</p>
</div>
<p><strong>NOTE</strong> <code class="docutils literal"><span class="pre">--with-glfw</span></code> is also available, but it&#8217;s just simple stub to
be used to test GLFW integration API.</p>
<p><strong>NOTE</strong> Special care is necessary to make custom windowing to work with
multithreaded renderer. Each platform has rules about where renderer can
be and how multithreading interacts with context/device. To disable
multithreaded render use <code class="docutils literal"><span class="pre">BGFX_CONFIG_MULTITHREDED=0</span></code> preprocessor
define.</p>
</div>
<div class="section" id="todo">
<h2>Todo<a class="headerlink" href="#todo" title="Permalink to this headline"></a></h2>

File diff suppressed because one or more lines are too long