# E:/DevIL/src-IL/src/il_mdl.c File Reference

`#include "il_internal.h"`
`#include "il_mdl.h"`

## Functions

ILboolean | iLoadMdlInternal (void)
ILboolean | iIsValidMdl (void)
ILboolean | ilIsValidMdl (ILconst_string FileName)
| Checks if the file specified in FileName is a valid MDL file.
ILboolean | ilIsValidMdlF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid MDL file at the current position.
ILboolean | ilIsValidMdlL (const void *Lump, ILuint Size)
| Checks if Lump is a valid MDL lump.
ILboolean | ilLoadMdl (ILconst_string FileName)
| Reads a .mdl file.
ILboolean | ilLoadMdlF (ILHANDLE File)
| Reads an already-opened .mdl file.
ILboolean | ilLoadMdlL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .mdl.

## Function Documentation

ILboolean iIsValidMdl | ( | void |  | ) |

Referenced by ilIsValidMdlF(), and ilIsValidMdlL().

ILboolean ilIsValidMdl | ( | ILconst_string | FileName | ) |

Checks if the file specified in FileName is a valid MDL file.

Referenced by ilIsValid().

ILboolean ilIsValidMdlF | ( | ILHANDLE | File | ) |

Checks if the ILHANDLE contains a valid MDL file at the current position.

Referenced by ilDetermineTypeF(), ilIsValidF(), and ilIsValidMdl().

ILboolean ilIsValidMdlL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Checks if Lump is a valid MDL lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilLoadMdl | ( | ILconst_string | FileName | ) |

Reads a .mdl file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadMdlF | ( | ILHANDLE | File | ) |

Reads an already-opened .mdl file.

Referenced by ilLoadF(), and ilLoadMdl().

ILboolean ilLoadMdlL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Reads from a memory "lump" that contains a .mdl.

Referenced by ilLoadL().

ILboolean iLoadMdlInternal | ( | void |  | ) |

Referenced by ilLoadMdlF(), and ilLoadMdlL().