Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gl4 documentation for glDrawElements #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion es3.1/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
3 changes: 2 additions & 1 deletion es3/glDrawElementsBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion es3/glDrawElementsInstancedBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion es3/glDrawRangeElementsBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion es3/html/glDrawElementsBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion es3/html/glDrawElementsInstancedBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion es3/html/glDrawRangeElementsBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from. If no buffer is bound, specifies a pointer to the location where the indices are stored.
</p>
</dd>
<dt>
Expand Down
2 changes: 1 addition & 1 deletion es3/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElementsBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElementsInstanced.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElementsInstancedBaseInstance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElementsInstancedBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElementsInstancedBaseVertexBaseInstance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawRangeElements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawRangeElementsBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glMultiDrawElements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Points to an array of byte offsets (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/glMultiDrawElementsBaseVertex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
<term><parameter>indices</parameter></term>
<listitem>
<para>
Specifies a pointer to the location where the indices are stored.
Points to an array of byte offsets (cast to a pointer type) into the buffer bound to <constant>GL_ELEMENT_ARRAY_BUFFER</constant>
to start reading indices from.
</para>
</listitem>
</varlistentry>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElements.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
</dl>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElementsBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElementsInstanced.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElementsInstancedBaseInstance.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElementsInstancedBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawElementsInstancedBaseVertexBaseInstance.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawRangeElements.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
</dl>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glDrawRangeElementsBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies a byte offset (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glMultiDrawElements.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Points to an array of byte offsets (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
3 changes: 2 additions & 1 deletion gl4/html/glMultiDrawElementsBaseVertex.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Points to an array of byte offsets (cast to a pointer type) into the buffer bound to <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>
to start reading indices from.
</p>
</dd>
<dt>
Expand Down
2 changes: 1 addition & 1 deletion gl4/html/indexflat.php
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@
<li><a href="glMapBufferRange.xhtml" target="pagedisplay">glMapNamedBufferRange</a></li>
<li><a href="matrixCompMult.xhtml" target="pagedisplay">matrixCompMult</a></li>
<li><a href="max.xhtml" target="pagedisplay">max</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrier</a></li>
<li><a href="memoryBarrier.xhtml" target="pagedisplay">memoryBarrier</a></li>
<li><a href="memoryBarrierAtomicCounter.xhtml" target="pagedisplay">memoryBarrierAtomicCounter</a></li>
<li><a href="memoryBarrierBuffer.xhtml" target="pagedisplay">memoryBarrierBuffer</a></li>
<li><a href="glMemoryBarrier.xhtml" target="pagedisplay">glMemoryBarrierByRegion</a></li>
Expand Down