kolrabi's another Image Library
1.11.0
|
Contains all functions to convert/copy image data from the IL to Direct3D textures and back. More...
Functions | |
ILAPI ILboolean ILAPIENTRY | ilutD3D8LoadSurface (IDirect3DDevice8 *Device, IDirect3DSurface8 *Surface) |
Copy a given Surface into the currently bound image. More... | |
ILboolean ILAPIENTRY | ilutD3D8TexFromFile (IDirect3DDevice8 *Device, ILconst_string FileName, IDirect3DTexture8 **Texture) |
Load an image from a file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8TexFromFileHandle (IDirect3DDevice8 *Device, ILHANDLE File, IDirect3DTexture8 **Texture) |
Load an image from an opened file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8TexFromFileInMemory (IDirect3DDevice8 *Device, const void *Lump, ILuint Size, IDirect3DTexture8 **Texture) |
Load an image from memory and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8TexFromResource (IDirect3DDevice8 *Device, HMODULE SrcModule, ILconst_string SrcResource, IDirect3DTexture8 **Texture) |
Load an image from a resource and store it in Texture. More... | |
IDirect3DTexture8 *ILAPIENTRY | ilutD3D8Texture (IDirect3DDevice8 *Device) |
Convert the currently bound image into a IDirect3DTexture8. More... | |
ILboolean ILAPIENTRY | ilutD3D8VolTexFromFile (IDirect3DDevice8 *Device, ILconst_string FileName, IDirect3DVolumeTexture8 **Texture) |
Load a volumetric (3d) image from a file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8VolTexFromFileHandle (IDirect3DDevice8 *Device, ILHANDLE File, IDirect3DVolumeTexture8 **Texture) |
Load a volumetric (3d) image from an opened file and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8VolTexFromFileInMemory (IDirect3DDevice8 *Device, const void *Lump, ILuint Size, IDirect3DVolumeTexture8 **Texture) |
Load a volumetric (3d) image from memory and store it in Texture. More... | |
ILboolean ILAPIENTRY | ilutD3D8VolTexFromResource (IDirect3DDevice8 *Device, HMODULE SrcModule, ILconst_string SrcResource, IDirect3DVolumeTexture8 **Texture) |
Load a volumetric (3d) image from a resource and store it in Texture. More... | |
IDirect3DVolumeTexture8 *ILAPIENTRY | ilutD3D8VolumeTexture (IDirect3DDevice8 *Device) |
Convert the currently bound image into a IDirect3DVolumeTexture8 Uses the following settings: More... | |
Contains all functions to convert/copy image data from the IL to Direct3D textures and back.
ILAPI ILboolean ILAPIENTRY ilutD3D8LoadSurface | ( | IDirect3DDevice8 * | Device, |
IDirect3DSurface8 * | 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 ilutD3D8TexFromFile | ( | IDirect3DDevice8 * | Device, |
ILconst_string | FileName, | ||
IDirect3DTexture8 ** | Texture | ||
) |
Load an image from a file and store it in Texture.
Uses the following settings:
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 ilutD3D8TexFromFileHandle | ( | IDirect3DDevice8 * | Device, |
ILHANDLE | File, | ||
IDirect3DTexture8 ** | 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 ilutD3D8TexFromFileInMemory | ( | IDirect3DDevice8 * | Device, |
const void * | Lump, | ||
ILuint | Size, | ||
IDirect3DTexture8 ** | Texture | ||
) |
Load an image from memory and store it in Texture.
Uses the following settings:
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 ilutD3D8TexFromResource | ( | IDirect3DDevice8 * | Device, |
HMODULE | SrcModule, | ||
ILconst_string | SrcResource, | ||
IDirect3DTexture8 ** | Texture | ||
) |
Load an image from a resource and store it in Texture.
Uses the following settings:
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 |
IDirect3DTexture8* ILAPIENTRY ilutD3D8Texture | ( | IDirect3DDevice8 * | Device | ) |
Convert the currently bound image into a IDirect3DTexture8.
Device | Direct3D device to use |
ILboolean ILAPIENTRY ilutD3D8VolTexFromFile | ( | IDirect3DDevice8 * | Device, |
ILconst_string | FileName, | ||
IDirect3DVolumeTexture8 ** | Texture | ||
) |
Load a volumetric (3d) image from a file and store it in Texture.
Uses the following settings:
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 ilutD3D8VolTexFromFileHandle | ( | IDirect3DDevice8 * | Device, |
ILHANDLE | File, | ||
IDirect3DVolumeTexture8 ** | Texture | ||
) |
Load a volumetric (3d) image from an opened file and store it in Texture.
Uses the following settings:
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 ilutD3D8VolTexFromFileInMemory | ( | IDirect3DDevice8 * | Device, |
const void * | Lump, | ||
ILuint | Size, | ||
IDirect3DVolumeTexture8 ** | Texture | ||
) |
Load a volumetric (3d) image from memory and store it in Texture.
Uses the following settings:
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 loaded Direct3D texture |
IL_TRUE | if successful |
IL_FALSE | if there was an error |
ILboolean ILAPIENTRY ilutD3D8VolTexFromResource | ( | IDirect3DDevice8 * | Device, |
HMODULE | SrcModule, | ||
ILconst_string | SrcResource, | ||
IDirect3DVolumeTexture8 ** | Texture | ||
) |
Load a volumetric (3d) image from a resource and store it in Texture.
Uses the following settings:
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 |
IDirect3DVolumeTexture8* ILAPIENTRY ilutD3D8VolumeTexture | ( | IDirect3DDevice8 * | Device | ) |
Convert the currently bound image into a IDirect3DVolumeTexture8 Uses the following settings:
Device | Direct3D device to use |