kolrabi's another Image Library
1.11.0
|
Contains all functions to convert/copy image data from the IL to Direct3D 9 textures and back. More...
Functions | |
ILboolean ILAPIENTRY | ilutD3D9CubeTexFromFile (IDirect3DDevice9 *Device, ILconst_string FileName, IDirect3DCubeTexture9 **Texture) |
Load a cube texture image from a file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9CubeTexFromFileHandle (IDirect3DDevice9 *Device, ILHANDLE File, IDirect3DCubeTexture9 **Texture) |
Load cube texture from an opened file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9CubeTexFromFileInMemory (IDirect3DDevice9 *Device, void *Lump, ILuint Size, IDirect3DCubeTexture9 **Texture) |
Load a cube texture image from a file in memory and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9CubeTexFromResource (IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, IDirect3DCubeTexture9 **Texture) |
Load an cube map from a resource and store it in Texture. More... | |
IDirect3DCubeTexture9 *ILAPIENTRY | ilutD3D9CubeTexture (IDirect3DDevice9 *Device) |
Convert the currently bound image into a IDirect3DCubeTexture9. More... | |
ILAPI ILboolean ILAPIENTRY | ilutD3D9LoadSurface (IDirect3DDevice9 *Device, IDirect3DSurface9 *Surface) |
Copy a given Surface into the currently bound image. More... | |
ILboolean ILAPIENTRY | ilutD3D9TexFromFile (IDirect3DDevice9 *Device, ILconst_string FileName, IDirect3DTexture9 **Texture) |
Load an image from a file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9TexFromFileHandle (IDirect3DDevice9 *Device, ILHANDLE File, IDirect3DTexture9 **Texture) |
Load an image from an opened file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9TexFromFileInMemory (IDirect3DDevice9 *Device, void *Lump, ILuint Size, IDirect3DTexture9 **Texture) |
Load an image from memory and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9TexFromResource (IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, IDirect3DTexture9 **Texture) |
Load an image from a resource and store it in Texture. More... | |
IDirect3DTexture9 *ILAPIENTRY | ilutD3D9Texture (IDirect3DDevice9 *Device) |
Convert the currently bound image into a IDirect3DTexture9. More... | |
ILboolean ILAPIENTRY | ilutD3D9VolTexFromFile (IDirect3DDevice9 *Device, ILconst_string FileName, IDirect3DVolumeTexture9 **Texture) |
Load a volume texture from a file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9VolTexFromFileHandle (IDirect3DDevice9 *Device, ILHANDLE File, IDirect3DVolumeTexture9 **Texture) |
Load volume texture from an opened file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9VolTexFromFileInMemory (IDirect3DDevice9 *Device, void *Lump, ILuint Size, IDirect3DVolumeTexture9 **Texture) |
Load volume texture from file in memory and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D9VolTexFromResource (IDirect3DDevice9 *Device, HMODULE SrcModule, ILconst_string SrcResource, IDirect3DVolumeTexture9 **Texture) |
Load volume texture from a resource and store it in Texture. More... | |
IDirect3DVolumeTexture9 *ILAPIENTRY | ilutD3D9VolumeTexture (IDirect3DDevice9 *Device) |
Convert the currently bound image into a IDirect3DVolumeTexture9. More... | |
Contains all functions to convert/copy image data from the IL to Direct3D 9 textures and back.
ILboolean ILAPIENTRY ilutD3D9CubeTexFromFile | ( | IDirect3DDevice9 * | Device, |
ILconst_string | FileName, | ||
IDirect3DCubeTexture9 ** | Texture | ||
) |
Load a cube texture image from a file and store it in Texture.
Device | Direct3D device to use |
FileName | Name of image file to load |
Texture | where to store the pointer to the Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9CubeTexFromFileHandle | ( | IDirect3DDevice9 * | Device, |
ILHANDLE | File, | ||
IDirect3DCubeTexture9 ** | Texture | ||
) |
Load cube texture from an opened file and store it in Texture.
Device | Direct3D device to use |
File | Handle of open file to use. Must be compatible with currently active image IO routines, see ilSetRead. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9CubeTexFromFileInMemory | ( | IDirect3DDevice9 * | Device, |
void * | Lump, | ||
ILuint | Size, | ||
IDirect3DCubeTexture9 ** | Texture | ||
) |
Load a cube texture image from a file in memory and store it in Texture.
Device | Direct3D device to use |
Lump | Pointer to image file in memory |
Size | Size of image file in memory in bytes |
Texture | where to store the pointer to the Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9CubeTexFromResource | ( | IDirect3DDevice9 * | Device, |
HMODULE | SrcModule, | ||
ILconst_string | SrcResource, | ||
IDirect3DCubeTexture9 ** | Texture | ||
) |
Load an cube map from a resource and store it in Texture.
Device | Direct3D device to use |
SrcModule | Loaded module that contains the resource to load. |
SrcResource | Name of the resource to load. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
IDirect3DCubeTexture9* ILAPIENTRY ilutD3D9CubeTexture | ( | IDirect3DDevice9 * | Device | ) |
Convert the currently bound image into a IDirect3DCubeTexture9.
Device | Direct3D device to use |
ILAPI ILboolean ILAPIENTRY ilutD3D9LoadSurface | ( | IDirect3DDevice9 * | Device, |
IDirect3DSurface9 * | Surface | ||
) |
Copy a given Surface into the currently bound image.
Device | Direct3D device to use |
Surface | Surface to copy image frome |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9TexFromFile | ( | IDirect3DDevice9 * | Device, |
ILconst_string | FileName, | ||
IDirect3DTexture9 ** | Texture | ||
) |
Load an image from a file and store it in Texture.
Device | Direct3D device to use |
FileName | Name of file to load |
Texture | Where to store the pointer to the loaded texture. |
IL_FALSE | if there was an error. |
IL_TRUE | if successful. |
ILboolean ILAPIENTRY ilutD3D9TexFromFileHandle | ( | IDirect3DDevice9 * | Device, |
ILHANDLE | File, | ||
IDirect3DTexture9 ** | Texture | ||
) |
Load an image from an opened file and store it in Texture.
Device | Direct3D device to use |
File | Handle of open file to use. Must be compatible with currently active image IO routines, see ilSetRead. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9TexFromFileInMemory | ( | IDirect3DDevice9 * | Device, |
void * | Lump, | ||
ILuint | Size, | ||
IDirect3DTexture9 ** | Texture | ||
) |
Load an image from memory and store it in Texture.
Device | Direct3D device to use |
Lump | Pointer to image file in memory |
Size | Size of image file in memory in bytes |
Texture | where to store the pointer to the Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9TexFromResource | ( | IDirect3DDevice9 * | Device, |
HMODULE | SrcModule, | ||
ILconst_string | SrcResource, | ||
IDirect3DTexture9 ** | Texture | ||
) |
Load an image from a resource and store it in Texture.
Device | Direct3D device to use |
SrcModule | Loaded module that contains the resource to load. |
SrcResource | Name of the resource to load. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
IDirect3DTexture9* ILAPIENTRY ilutD3D9Texture | ( | IDirect3DDevice9 * | Device | ) |
Convert the currently bound image into a IDirect3DTexture9.
Device | Direct3D device to use |
ILboolean ILAPIENTRY ilutD3D9VolTexFromFile | ( | IDirect3DDevice9 * | Device, |
ILconst_string | FileName, | ||
IDirect3DVolumeTexture9 ** | Texture | ||
) |
Load a volume texture from a file and store it in Texture.
Device | Direct3D device to use |
FileName | Name of file to load |
Texture | Where to store the pointer to the loaded texture. |
IL_FALSE | if there was an error. |
IL_TRUE | if successful. |
ILboolean ILAPIENTRY ilutD3D9VolTexFromFileHandle | ( | IDirect3DDevice9 * | Device, |
ILHANDLE | File, | ||
IDirect3DVolumeTexture9 ** | Texture | ||
) |
Load volume texture from an opened file and store it in Texture.
Device | Direct3D device to use |
File | Handle of open file to use. Must be compatible with currently active image IO routines, see ilSetRead. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9VolTexFromFileInMemory | ( | IDirect3DDevice9 * | Device, |
void * | Lump, | ||
ILuint | Size, | ||
IDirect3DVolumeTexture9 ** | Texture | ||
) |
Load volume texture from file in memory and store it in Texture.
Device | Direct3D device to use |
Lump | Pointer to image file in memory |
Size | Size of image file in memory in bytes |
Texture | where to store the pointer to the Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D9VolTexFromResource | ( | IDirect3DDevice9 * | Device, |
HMODULE | SrcModule, | ||
ILconst_string | SrcResource, | ||
IDirect3DVolumeTexture9 ** | Texture | ||
) |
Load volume texture from a resource and store it in Texture.
Device | Direct3D device to use |
SrcModule | Loaded module that contains the resource to load. |
SrcResource | Name of the resource to load. |
Texture | Where to store the pointer to the loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
IDirect3DVolumeTexture9* ILAPIENTRY ilutD3D9VolumeTexture | ( | IDirect3DDevice9 * | Device | ) |
Convert the currently bound image into a IDirect3DVolumeTexture9.
Device | Direct3D device to use |