0% found this document useful (0 votes)
24 views1 page

DevIL Reference Guide

This document provides a summary of common functions in the DevIL Reference Guide. It lists the purpose of key functions like ilActiveImage to set the active image frame, ilBindImage to bind an image name, ilConvertImage to convert image formats, ilCopyPixels to retrieve image data, ilDeleteImages to delete image names, and other functions for initialization, loading, saving, setting states and attributes, and converting images to DirectX and OpenGL textures.

Uploaded by

dj_rock101
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

DevIL Reference Guide

This document provides a summary of common functions in the DevIL Reference Guide. It lists the purpose of key functions like ilActiveImage to set the active image frame, ilBindImage to bind an image name, ilConvertImage to convert image formats, ilCopyPixels to retrieve image data, ilDeleteImages to delete image names, and other functions for initialization, loading, saving, setting states and attributes, and converting images to DirectX and OpenGL textures.

Uploaded by

dj_rock101
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DevIL Reference Guide

Name
ilActiveImage ilBindImage

version 1.1.5

Purpose
Sets the active image to a frame in an animation. Binds an image name to DevILs internal bound image to perform all subsequent operations upon. Converts an image from any format and/or type to any other format/type. Retrieves a specified block of the images data in any format or type you desire. Deletes image names and all images associated with the names. Disables or enables a state or feature in the library. Generates a list of image names and creates new images for these names. Returns a pointer to the currently bound images data. Gets the last error from the error stack. Allows you to get values from DevIL about the currently bound images attributes and states within the library. Initializes DevIL. Th ese functions must always be called before using DevIL. Loads any supported image file in to the currently bound image. Saves the currently bound image to a supported filetype. Allows you to set states within DevIL. Sets a block of pixels in the image from data in any format or type. Changes the images attributes and data. Modifies the behaviour of scaling and canvas enlargement in ILU. Loads an image file directly into a Direct3D texture. Converts the currently bound image to a Direct3D texture. Loads an image file directly into an OpenGL texture. Converts the currently bound image to an OpenGL texture.

ilConvertImage ilCopyPixels

Common Function Reference

ilDeleteImages ilDisable/ilEnable ilGenImages ilGetData ilGetError ilGetInteger

ilInit/iluInit/ilutInit ilLoadImage ilSaveImage ilSetInteger ilSetPixels ilTexImage iluImageParameter ilutD3D8TexFromFile ilutD3D8Texture ilutGLLoadImage ilutGLBindTexImage

You might also like