diff options
Diffstat (limited to 'texture_8h_source.html')
-rw-r--r-- | texture_8h_source.html | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/texture_8h_source.html b/texture_8h_source.html index bf7ad3dc..20650440 100644 --- a/texture_8h_source.html +++ b/texture_8h_source.html @@ -91,41 +91,41 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); </div><!--header--> <div class="contents"> <a href="texture_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div> -<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#pragma once</span></div> -<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span></div> -<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <glad/glad.h></span></div> -<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> -<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">namespace </span>yage</div> -<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> {</div> -<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> -<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html"> 16</a></span> <span class="keyword">struct </span><a class="code" href="structyage_1_1Texture.html">Texture</a> {</div> -<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968"> 17</a></span>  GLuint <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>;</div> -<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598"> 18</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>;</div> -<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e"> 19</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>;</div> -<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046"> 20</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>;</div> -<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0"> 21</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>;</div> -<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> -<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5"> 23</a></span>  <a class="code" href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5">Texture</a>() : <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>(0), <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>(0), <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>(0), <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>(0), <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>(0) {}</div> -<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> -<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850"> 25</a></span>  <a class="code" href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850">Texture</a>(GLuint id_i, <span class="keywordtype">int</span> width_i, <span class="keywordtype">int</span> height_i, <span class="keywordtype">int</span> x_i = 1, <span class="keywordtype">int</span> y_i = 1)</div> -<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  : <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>(id_i), <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>(width_i), <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>(height_i), <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>(x_i), <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>(y_i)</div> -<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div> -<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div> -<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> };</div> -<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> -<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> } <span class="comment">// namespace yage</span></div> -<div class="ttc" id="structyage_1_1Texture_html_a4bfae86da1ef1930238291660223a8f0"><div class="ttname"><a href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">yage::Texture::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> texture.h:21</div></div> -<div class="ttc" id="structyage_1_1Texture_html_a7ecf257a7663cb0523d41c0519380046"><div class="ttname"><a href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">yage::Texture::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> texture.h:20</div></div> -<div class="ttc" id="structyage_1_1Texture_html_a5ce16ac8ad034f7042620a418783b41e"><div class="ttname"><a href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">yage::Texture::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> texture.h:19</div></div> -<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.h:16</div></div> -<div class="ttc" id="structyage_1_1Texture_html_af0a85aa4202d12fca9c1f52085d26850"><div class="ttname"><a href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850">yage::Texture::Texture</a></div><div class="ttdeci">Texture(GLuint id_i, int width_i, int height_i, int x_i=1, int y_i=1)</div><div class="ttdef"><b>Definition:</b> texture.h:25</div></div> -<div class="ttc" id="structyage_1_1Texture_html_ad42f41cc57ed7a20928382f6557dc598"><div class="ttname"><a href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">yage::Texture::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> texture.h:18</div></div> -<div class="ttc" id="structyage_1_1Texture_html_a0cef080bceaaf5e702985f5494ea35d5"><div class="ttname"><a href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5">yage::Texture::Texture</a></div><div class="ttdeci">Texture()</div><div class="ttdef"><b>Definition:</b> texture.h:23</div></div> -<div class="ttc" id="structyage_1_1Texture_html_a26386c2709b906ec07c9a1bb8daf2968"><div class="ttname"><a href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">yage::Texture::id</a></div><div class="ttdeci">GLuint id</div><div class="ttdef"><b>Definition:</b> texture.h:17</div></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#pragma once</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <glad/glad.h></span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span>yage</div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html"> 17</a></span> <span class="keyword">struct </span><a class="code" href="structyage_1_1Texture.html">Texture</a> {</div> +<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968"> 18</a></span>  GLuint <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>;</div> +<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598"> 19</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>;</div> +<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e"> 20</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>;</div> +<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046"> 21</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>;</div> +<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0"> 22</a></span>  <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>;</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5"> 24</a></span>  <a class="code" href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5">Texture</a>() : <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>(0), <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>(0), <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>(0), <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>(0), <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>(0) {}</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850"> 26</a></span>  <a class="code" href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850">Texture</a>(GLuint id_i, <span class="keywordtype">int</span> width_i, <span class="keywordtype">int</span> height_i, <span class="keywordtype">int</span> x_i = 1, <span class="keywordtype">int</span> y_i = 1)</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>(id_i), <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>(width_i), <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>(height_i), <a class="code" href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">x</a>(x_i), <a class="code" href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">y</a>(y_i)</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  }</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> };</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> } <span class="comment">// namespace yage</span></div> +<div class="ttc" id="structyage_1_1Texture_html_a4bfae86da1ef1930238291660223a8f0"><div class="ttname"><a href="structyage_1_1Texture.html#a4bfae86da1ef1930238291660223a8f0">yage::Texture::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> texture.h:22</div></div> +<div class="ttc" id="structyage_1_1Texture_html_a7ecf257a7663cb0523d41c0519380046"><div class="ttname"><a href="structyage_1_1Texture.html#a7ecf257a7663cb0523d41c0519380046">yage::Texture::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> texture.h:21</div></div> +<div class="ttc" id="structyage_1_1Texture_html_a5ce16ac8ad034f7042620a418783b41e"><div class="ttname"><a href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">yage::Texture::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> texture.h:20</div></div> +<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.h:17</div></div> +<div class="ttc" id="structyage_1_1Texture_html_af0a85aa4202d12fca9c1f52085d26850"><div class="ttname"><a href="structyage_1_1Texture.html#af0a85aa4202d12fca9c1f52085d26850">yage::Texture::Texture</a></div><div class="ttdeci">Texture(GLuint id_i, int width_i, int height_i, int x_i=1, int y_i=1)</div><div class="ttdef"><b>Definition:</b> texture.h:26</div></div> +<div class="ttc" id="structyage_1_1Texture_html_ad42f41cc57ed7a20928382f6557dc598"><div class="ttname"><a href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">yage::Texture::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> texture.h:19</div></div> +<div class="ttc" id="structyage_1_1Texture_html_a0cef080bceaaf5e702985f5494ea35d5"><div class="ttname"><a href="structyage_1_1Texture.html#a0cef080bceaaf5e702985f5494ea35d5">yage::Texture::Texture</a></div><div class="ttdeci">Texture()</div><div class="ttdef"><b>Definition:</b> texture.h:24</div></div> +<div class="ttc" id="structyage_1_1Texture_html_a26386c2709b906ec07c9a1bb8daf2968"><div class="ttname"><a href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">yage::Texture::id</a></div><div class="ttdeci">GLuint id</div><div class="ttdef"><b>Definition:</b> texture.h:18</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated on Sat Jun 2 2018 15:03:20 by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jun 2 2018 15:21:05 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.6 </small></address> |