Material library interface.
Public Member Functions | |
| virtual tMaterialLibrarySinkLst * | GetSinkList () const =0 |
| Get the sink list. {Property}. More... | |
| virtual ni::tBool | Copy (const iMaterialLibrary *apSrc, tBool abCloneMats)=0 |
| Copy the material library. More... | |
| virtual iMaterialLibrary * | Clone (tBool abCloneMats) const =0 |
| Clone the material library. More... | |
| virtual ni::tBool | ClearMaterials ()=0 |
| Remove all materials. More... | |
| virtual ni::tBool | AddMaterial (ni::iMaterial *apMaterial)=0 |
| Add a material. More... | |
| virtual ni::tBool | RemoveMaterial (ni::iMaterial *apMaterial)=0 |
| Remove a material. More... | |
| virtual ni::tU32 | GetNumMaterials () const =0 |
| Get the number of materials. {Property}. More... | |
| virtual ni::iMaterial * | GetMaterial (ni::tU32 anIndex) const =0 |
| Get the material at the specified index. {Property}. More... | |
| virtual ni::iMaterial * | GetMaterialFromName (ni::iHString *ahspName) const =0 |
| Get the material from the specified name. {Property}. More... | |
| virtual ni::tU32 | GetMaterialIndex (ni::iMaterial *apMaterial) const =0 |
| Get the index of the specified material. {Property}. More... | |
| virtual ni::tBool | SerializeDataTable (ni::iDataTable *apDT, tMaterialSerializeFlags aFlags)=0 |
| Serialize the library in a datatable. More... | |
| virtual ni::tBool | SerializeFile (ni::iFile *apFile, tMaterialSerializeFlags aFlags)=0 |
| Serialize the library in a file. More... | |
| virtual void | SetBasePath (iHString *ahspBasePath)=0 |
| Set the material library's base path. {Property}. More... | |
| virtual iHString * | GetBasePath () const =0 |
| Get the material library's base path. {Property}. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the sink list. {Property}.
|
pure virtual |
Copy the material library.
| apSrc | is the source library to copy |
| abCloneMats | sets whether the materials will be cloned, or just their pointer transfered. |
|
pure virtual |
Clone the material library.
|
pure virtual |
Remove all materials.
|
pure virtual |
Add a material.
|
pure virtual |
Remove a material.
|
pure virtual |
Get the number of materials. {Property}.
|
pure virtual |
Get the material at the specified index. {Property}.
|
pure virtual |
Get the material from the specified name. {Property}.
|
pure virtual |
Get the index of the specified material. {Property}.
|
pure virtual |
Serialize the library in a datatable.
|
pure virtual |
Serialize the library in a file.
Set the material library's base path. {Property}.
|
pure virtual |
Get the material library's base path. {Property}.
1.8.7