AssetGroup Class Reference
Represents a collection of assets (meshes, textures, etc).
More...
List of all members.
Detailed Description
Represents a collection of assets (meshes, textures, etc).
Definition at line 32 of file AssetGroup.h.
Constructor & Destructor Documentation
AssetGroup::AssetGroup |
( |
const std::string & |
name, |
|
|
const std::string & |
dirName | |
|
) |
| | |
Constructor.
- Parameters:
-
| name | Name of the asset group. |
| dirName | Name of the base directory of the asset group. |
Definition at line 26 of file AssetGroup.cpp.
AssetGroup::~AssetGroup |
( |
|
) |
|
Member Function Documentation
void AssetGroup::clear |
( |
|
) |
|
AssetProcessor * AssetGroup::getAssetProcessor |
( |
const std::string & |
baseName |
) |
|
const std::string & AssetGroup::getBaseDir |
( |
|
) |
const |
u32 AssetGroup::getID |
( |
|
) |
const |
const std::string & AssetGroup::getName |
( |
|
) |
const |
void AssetGroup::init |
( |
|
) |
|
bool AssetGroup::reloadAsset |
( |
const std::string & |
name |
) |
|
Reloads the asset with the given name.
- Parameters:
-
| name | Directory and name (dir/file.*) of the asset. |
Definition at line 101 of file AssetGroup.cpp.
void AssetGroup::reloadAssets |
( |
|
) |
|
Reloads all assets in this asset group.
Definition at line 141 of file AssetGroup.cpp.
bool AssetGroup::removeAsset |
( |
const std::string & |
name |
) |
|
Removes the asset with the given name.
- Parameters:
-
| name | Directory and name (dir/file.*) of the asset. |
Definition at line 150 of file AssetGroup.cpp.
void AssetGroup::removeAssets |
( |
|
) |
|
The documentation for this class was generated from the following files: