dlangui/docs/glsupport.html

52 lines
1.4 KiB
HTML

<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>dlangui.graphics.glsupport</title>
</head><body>
<h1>dlangui.graphics.glsupport</h1>
<!-- Generated by Ddoc from src/dlangui/graphics/glsupport.d -->
DLANGUI library.
<br><br>
This module contains OpenGL access layer.
<br><br>
To enable OpenGL support, build with version(USE_OPENGL);
<br><br>
<b>Synopsis:</b><br>
<pre class="d_code"><font color=blue>import</font> dlangui.graphics.<u>glsupport</u>;
</pre>
<br><br>
<b>License:</b><br>
Boost License 1.0
<br><br>
<b>Authors:</b><br>
Vadim Lopatin, coolreader.org@gmail.com<br><br>
<dl><dt><big><a name="genTexture"></a>uint <u>genTexture</u>();
</big></dt>
<dd>generate new texture ID<br><br>
</dd>
<dt><big><a name="deleteTexture"></a>void <u>deleteTexture</u>(ref uint <i>textureId</i>);
</big></dt>
<dd>delete OpenGL texture<br><br>
</dd>
<dt><big><a name="flushGL"></a>void <u>flushGL</u>();
</big></dt>
<dd>call glFlush<br><br>
</dd>
<dt><big><a name="createFramebuffer"></a>bool <u>createFramebuffer</u>(ref uint <i>textureId</i>, ref uint <i>framebufferId</i>, int <i>dx</i>, int <i>dy</i>);
</big></dt>
<dd>returns texture ID for buffer, 0 if failed<br><br>
</dd>
</dl>
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>. Vadim Lopatin, 2014
</small>
</body></html>