#include <import/YiViewTemplateFactory.h>
Static Public Member Functions | |
| static std::shared_ptr< CYIAssetViewTemplate > | CreateAsset (const CYIString &filename) |
| static std::shared_ptr< CYIAssetViewTemplate > | CreateAssetFromPath (const CYIString &path) |
|
static |
Creates an asset representing a view template using just a filename. This will search the application's asset directories for the file. The returned asset will have a name set that is equal to the filename provided.
|
static |
Creates an asset representing a view template using the absolute path provided. The returned asset will have a name set to the name at the end of the absolute path.