Named Resources

You can assign specific names to resources by using the IlvResource member functions:

void setName(const char* name);

const char* getName() const;

Note

and IlvColor make private use of their name field, so these classes restrict the use of IlvResource::setName. IlvFont disables the use of IlvResource::setName, and IlvColor only allows the renaming of mutable colors. Non-mutable colors either have a predefined name or get a default name based on their RGB values.