|
| virtual std::shared_ptr< AnimationsData > | GetAnimationsData (const std::string &animationDataPath) override |
| | Gets the processed animation data of the file on the input path.
|
| virtual void | DeleteCache () override |
| | Deletes the animations cache. This should be safe to call anytime because of the shared pointers.
|
| virtual void | DeleteAnimation (const std::string &texturePath) override |
| | Deletes a specific animation in the cache. This should be safe to call anytime because of the shared pointers.
|
◆ DeleteAnimation()
| virtual void Mochi::Graphics::DummyAnimationFactory::DeleteAnimation |
( |
const std::string & | texturePath | ) |
|
|
inlineoverridevirtual |
Deletes a specific animation in the cache. This should be safe to call anytime because of the shared pointers.
- Parameters
-
| texturePath | Path or unique identifier of the file in the file system. |
Implements Mochi::Graphics::IAnimationFactory.
◆ DeleteCache()
| virtual void Mochi::Graphics::DummyAnimationFactory::DeleteCache |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetAnimationsData()
| virtual std::shared_ptr< AnimationsData > Mochi::Graphics::DummyAnimationFactory::GetAnimationsData |
( |
const std::string & | animationDataPath | ) |
|
|
inlineoverridevirtual |
Gets the processed animation data of the file on the input path.
- Parameters
-
| animationDataPath | Path or unique identifier of the file containing the animation data in the file system. |
- Returns
- A shared pointer to the data. This is meant to be saved as a cache.
Implements Mochi::Graphics::IAnimationFactory.
The documentation for this class was generated from the following file: