|
|
@@ -1417,7 +1417,7 @@ tutorial.</p>
|
|
|
<dl class="cpp macro">
|
|
|
<dt id="c.BGFX_CAPS_FRAGMENT_DEPTH">
|
|
|
<span class="target" id="defines_8h_1ad6427441adff7f8672d4f90eaa40698d"></span><code class="sig-name descname">BGFX_CAPS_FRAGMENT_DEPTH</code><a class="headerlink" href="#c.BGFX_CAPS_FRAGMENT_DEPTH" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
-<dd><p>Fragment depth is accessible in fragment shader. </p>
|
|
|
+<dd><p>Fragment depth is available in fragment shader. </p>
|
|
|
</dd></dl>
|
|
|
|
|
|
<dl class="cpp macro">
|
|
|
@@ -1542,7 +1542,7 @@ tutorial.</p>
|
|
|
<dl class="cpp macro">
|
|
|
<dt id="c.BGFX_CAPS_VERTEX_ID">
|
|
|
<span class="target" id="defines_8h_1a63af3c34318335de4b4fa64af87dcc5c"></span><code class="sig-name descname">BGFX_CAPS_VERTEX_ID</code><a class="headerlink" href="#c.BGFX_CAPS_VERTEX_ID" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
-<dd><p>Rendering with VertexID only is supported. All texture compare modes are supported. </p>
|
|
|
+<dd><p>Rendering with VertexID only is supported. </p>
|
|
|
</dd></dl>
|
|
|
|
|
|
</div>
|
|
|
@@ -4162,6 +4162,12 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
|
|
|
<dd><p>Index buffer handle. </p>
|
|
|
</dd></dl>
|
|
|
|
|
|
+<dl class="cpp var">
|
|
|
+<dt id="_CPPv4N4bgfx20TransientIndexBuffer9isIndex16E">
|
|
|
+<span id="_CPPv3N4bgfx20TransientIndexBuffer9isIndex16E"></span><span id="_CPPv2N4bgfx20TransientIndexBuffer9isIndex16E"></span><span id="bgfx::TransientIndexBuffer::isIndex16__b"></span><span class="target" id="structbgfx_1_1_transient_index_buffer_1a5844bd46c5af48c77430b8a323b5ecc5"></span>bool <code class="sig-name descname">isIndex16</code><a class="headerlink" href="#_CPPv4N4bgfx20TransientIndexBuffer9isIndex16E" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
+<dd><p>Index buffer format is 16-bits if true, otherwise it is 32-bit. </p>
|
|
|
+</dd></dl>
|
|
|
+
|
|
|
</div>
|
|
|
</dd></dl>
|
|
|
|
|
|
@@ -5861,8 +5867,8 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
|
|
|
</dd></dl>
|
|
|
|
|
|
<dl class="cpp function">
|
|
|
-<dt id="_CPPv4N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_t">
|
|
|
-<span id="_CPPv3N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_t"></span><span id="_CPPv2N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_t"></span><span id="bgfx::allocTransientIndexBuffer__TransientIndexBufferP.uint32_t"></span><span class="target" id="namespacebgfx_1a9526c5d498cfacda5d1a0008d3f61f1e"></span>void <code class="sig-prename descclassname">bgfx<code class="sig-prename descclassname">::</code></code><code class="sig-name descname">allocTransientIndexBuffer</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv4N4bgfx20TransientIndexBufferE" title="bgfx::TransientIndexBuffer">TransientIndexBuffer</a> *<em>_tib</em>, uint32_t <em>_num</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_t" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
+<dt id="_CPPv4N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_tb">
|
|
|
+<span id="_CPPv3N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_tb"></span><span id="_CPPv2N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_tb"></span><span id="bgfx::allocTransientIndexBuffer__TransientIndexBufferP.uint32_t.b"></span><span class="target" id="namespacebgfx_1a84f22d4feadc176f2b70846ae3b7c85f"></span>void <code class="sig-prename descclassname">bgfx<code class="sig-prename descclassname">::</code></code><code class="sig-name descname">allocTransientIndexBuffer</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv4N4bgfx20TransientIndexBufferE" title="bgfx::TransientIndexBuffer">TransientIndexBuffer</a> *<em>_tib</em>, uint32_t <em>_num</em>, bool <em>_index32</em> = false<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx25allocTransientIndexBufferEP20TransientIndexBuffer8uint32_tb" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
<dd><p>Allocate transient index buffer. </p>
|
|
|
<p><dl class="simple">
|
|
|
<dt><strong>Remark</strong></dt><dd><p>Only 16-bit index buffer is supported.</p>
|
|
|
@@ -5871,7 +5877,8 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
|
|
|
</dd>
|
|
|
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
|
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">[out]</span> <span class="pre">_tib</span></code>: <a class="reference internal" href="#structbgfx_1_1_transient_index_buffer"><span class="std std-ref">TransientIndexBuffer</span></a> structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls. </p></li>
|
|
|
-<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_num</span></code>: Number of indices to allocate.</p></li>
|
|
|
+<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_num</span></code>: Number of indices to allocate. </p></li>
|
|
|
+<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_index32</span></code>: Set to <code class="docutils literal notranslate"><span class="pre">true</span></code> if input indices will be 32-bit.</p></li>
|
|
|
</ul>
|
|
|
</dd>
|
|
|
</dl>
|
|
|
@@ -6859,14 +6866,15 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
|
|
|
<div class="breathe-sectiondef docutils container">
|
|
|
<p class="breathe-sectiondef-title rubric">Public Functions</p>
|
|
|
<dl class="cpp function">
|
|
|
-<dt id="_CPPv4N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t7uint8_t">
|
|
|
-<span id="_CPPv3N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t7uint8_t"></span><span id="_CPPv2N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t7uint8_t"></span><span id="bgfx::Attachment::init__TextureHandle.Access::Enum.uint16_t.uint16_t.uint8_t"></span><span class="target" id="structbgfx_1_1_attachment_1a1556200260d1ae2b50ade579f99b0400"></span>void <code class="sig-name descname">init</code><span class="sig-paren">(</span>TextureHandle <em>_handle</em>, <a class="reference internal" href="#_CPPv4N4bgfx6AccessE" title="bgfx::Access">Access</a>::<a class="reference internal" href="#_CPPv4N4bgfx6Access4EnumE" title="bgfx::Access::Enum">Enum</a> <em>_access</em> = <a class="reference internal" href="#_CPPv4N4bgfx6AccessE" title="bgfx::Access">Access</a>::<a class="reference internal" href="#_CPPv4N4bgfx6Access4Enum5WriteE" title="bgfx::Access::Write">Write</a>, uint16_t <em>_layer</em> = 0, uint16_t <em>_mip</em> = 0, uint8_t <em>_resolve</em> = BGFX_RESOLVE_AUTO_GEN_MIPS<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
+<dt id="_CPPv4N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t8uint16_t7uint8_t">
|
|
|
+<span id="_CPPv3N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t8uint16_t7uint8_t"></span><span id="_CPPv2N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t8uint16_t7uint8_t"></span><span id="bgfx::Attachment::init__TextureHandle.Access::Enum.uint16_t.uint16_t.uint16_t.uint8_t"></span><span class="target" id="structbgfx_1_1_attachment_1a3c7ea353a598612bec0a5c1d9e6ca0ec"></span>void <code class="sig-name descname">init</code><span class="sig-paren">(</span>TextureHandle <em>_handle</em>, <a class="reference internal" href="#_CPPv4N4bgfx6AccessE" title="bgfx::Access">Access</a>::<a class="reference internal" href="#_CPPv4N4bgfx6Access4EnumE" title="bgfx::Access::Enum">Enum</a> <em>_access</em> = <a class="reference internal" href="#_CPPv4N4bgfx6AccessE" title="bgfx::Access">Access</a>::<a class="reference internal" href="#_CPPv4N4bgfx6Access4Enum5WriteE" title="bgfx::Access::Write">Write</a>, uint16_t <em>_layer</em> = 0, uint16_t <em>_numLayers</em> = 1, uint16_t <em>_mip</em> = 0, uint8_t <em>_resolve</em> = BGFX_RESOLVE_AUTO_GEN_MIPS<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx10Attachment4initE13TextureHandleN6Access4EnumE8uint16_t8uint16_t8uint16_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
<dd><p><a class="reference internal" href="#structbgfx_1_1_init"><span class="std std-ref">Init</span></a> attachment. </p>
|
|
|
<p><dl class="simple">
|
|
|
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
|
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_handle</span></code>: Render target texture handle. </p></li>
|
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_access</span></code>: <a class="reference internal" href="#structbgfx_1_1_access"><span class="std std-ref">Access</span></a>. See <code class="docutils literal notranslate"><a class="reference internal" href="#structbgfx_1_1_access_1a1deee3013ec4834c19370685b1719180"><span class="std std-ref"><span class="pre">Access::Enum</span></span></a></code>. </p></li>
|
|
|
-<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_layer</span></code>: Cubemap side or depth layer/slice. </p></li>
|
|
|
+<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_layer</span></code>: Cubemap side or depth layer/slice to use. </p></li>
|
|
|
+<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_numLayers</span></code>: Number of texture layer/slice(s) in array to use. </p></li>
|
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_mip</span></code>: Mip level. </p></li>
|
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_resolve</span></code>: Resolve flags. See: <code class="docutils literal notranslate"><span class="pre">BGFX_RESOLVE_*</span></code> </p></li>
|
|
|
</ul>
|
|
|
@@ -6899,7 +6907,13 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
|
|
|
<dl class="cpp var">
|
|
|
<dt id="_CPPv4N4bgfx10Attachment5layerE">
|
|
|
<span id="_CPPv3N4bgfx10Attachment5layerE"></span><span id="_CPPv2N4bgfx10Attachment5layerE"></span><span id="bgfx::Attachment::layer__uint16_t"></span><span class="target" id="structbgfx_1_1_attachment_1aea8de271c840deb81f0d0d8743f034b2"></span>uint16_t <code class="sig-name descname">layer</code><a class="headerlink" href="#_CPPv4N4bgfx10Attachment5layerE" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
-<dd><p>Cubemap side or depth layer/slice. </p>
|
|
|
+<dd><p>Cubemap side or depth layer/slice to use. </p>
|
|
|
+</dd></dl>
|
|
|
+
|
|
|
+<dl class="cpp var">
|
|
|
+<dt id="_CPPv4N4bgfx10Attachment9numLayersE">
|
|
|
+<span id="_CPPv3N4bgfx10Attachment9numLayersE"></span><span id="_CPPv2N4bgfx10Attachment9numLayersE"></span><span id="bgfx::Attachment::numLayers__uint16_t"></span><span class="target" id="structbgfx_1_1_attachment_1a203324d534e1eaf52763de4071573c35"></span>uint16_t <code class="sig-name descname">numLayers</code><a class="headerlink" href="#_CPPv4N4bgfx10Attachment9numLayersE" title="Permalink to this definition">¶</a><br /></dt>
|
|
|
+<dd><p>Number of texture layer/slice(s) in array to use. </p>
|
|
|
</dd></dl>
|
|
|
|
|
|
<dl class="cpp var">
|