root/trunk/docs/ilu.html

Revision 149, 1.7 kB (checked in by aldacron, 2 years ago)

* integrated h3r3tic's new loader interface
* added DerelictOGG and DerelictVorbis?
* added JoeCoder?'s style sheet for the docs
* updated, corrected, and rewrote large portions of the documentation
* added two placeholder doc pages - terms.html and derelictify.html
* added JoeCoder?'s Linux bug fixes to buildme.d
* removed example.d from all package directories
* added JoeCoder?'s vorbisfile_example.d to /examples

  • Property svn:mime-type set to text/html
  • Property svn:mim-type set to text/html
Line 
1 <html lang="en">
2 <head>
3     <title>DerelictILU</title>
4     <link rel="stylesheet" type="text/css" href="styles.css">
5 </head>
6 <body>
7 <hr>
8 <hr>
9 <h2 align="center">DerelictILU</h2>
10 <hr>
11 <hr>
12 <h3>Introduction</h3>
13 DerelictILU is a D binding to the <a href="http://openil.sourceforge.net/">ILU</a>
14 library, part of the DevIL project.
15
16 <h3>Using</h3>
17 <ol>
18 <li>Always make sure the DerelictILU source modules are available on your import
19 path.</li>
20 <li>In modules that make use of DerelictILU, you will need to import the derelict.ilu.ilu
21 module.</li>
22 <li>Before calling any ILU functions, you need to make a call to <tt>DerelictILU.load()</tt>.
23 This will load the shared library.</li>
24 </ol>
25
26 <p>
27 The following is a complete program that loads DerelictILU:
28 </p>
29
30 <pre>
31 import derelict.ilu.ilu;
32
33 void main()
34 {
35     DerelictILU.load();
36    
37     // now you can call ILU functions
38 }
39 </pre>
40
41 <p>
42 From this point on, you may call ILU functions as normal.
43 </p>
44
45 <p>
46 As with other Derelict packages, DerelictILU will throw an exception if an error
47 occurs while loading the shared library. For more information on Derelict
48 exceptions, see the documentation for
49 <a href="loading.html">Loading/Unloading Shared Libraries</a>.</p>
50
51 <p>
52 Finally, the method <tt>DerelictILU.unload()</tt> is provided for convenience. In normal
53 practice you do not need to call this function, as Derelict will unload the library
54 automatically when the app exits. You generally should only use this function if
55 you need to unload DerelictILU while the application is running.
56 </p>
57
58 <h3>Dependencies</h3>
59 <a href="util.html">DerelictUtil</a>
60 <br /><a href="il.html">DerelictIL</a>
61
62 </body>
63 </html>
Note: See TracBrowser for help on using the browser.