derelict-il

A dynamic binding to the DevIL library.


Keywords
library, binding, graphics, data
License
BSL-1.0
Install
dub fetch derelict-il --version 2.0.0-beta.2

Documentation

DerelictIL

A dynamic binding to version 1.8.0 of the DevIL library for the D Programming Language.

Please see the sections on Compiling and Linking and The Derelict Loader, in the Derelict documentation, for information on how to build DerelictIL and load DevIL at run time. In the meantime, here's some sample code.

import derelict.devil.il;
import derelict.devil.ilu;
import derelict.devil.ilut;

void main() {
    // Load the DevIL/ILU/ILUT libraries, .
    DerelictIL.load();
    DerelictILU.load();
    DerelictILUT.load();

    // Now DevIL functions can be called.
    ...
}