Detailed Description
- See also:
- Template Class
Tab, Class Mtl.
- Description:
- A simple list of materials. All methods of this class are
implemented by the system.
Note the following typedefs:
typedef MtlBase* MtlBaseHandle;
typedef Mtl* MtlHandle;
typedef Texmap* TexmapHandle;
#include <imtl.h>
List of all
members.
Member Function Documentation
CoreExport int AddMtl |
( |
Mtl
* |
m, |
|
|
BOOL |
checkUnique =
TRUE |
|
) |
|
|
- Parameters:
- Mtl *m
The material to add.
BOOL checkUnique=TRUE
If TRUE this method checks to make sure the material is unique, and
will only add it if so.
- Returns:
- Nonzero if the material was added; otherwise zero.
CoreExport int FindMtl |
( |
Mtl
* |
m |
) |
|
- Parameters:
- Mtl *m
The material to find.
CoreExport int FindMtlByName |
( |
MSTR & |
name |
) |
|
- Parameters:
- MSTR& name
The material to find.
void RemoveEntry |
( |
int |
n |
) |
[inline] |
- Parameters:
- int n
The index of the material to remove.
MtlList MtlList MtlList MtlList MtlList
MtlList MtlList MtlList MtlList MtlList
MtlList MtlList MtlList MtlList MtlList
MtlList MtlList MtlList MtlList MtlList