You.i Engine
CYIViewTemplateFactory Class Reference

#include <import/YiViewTemplateFactory.h>

Static Public Member Functions

static std::shared_ptr< CYIAssetViewTemplateCreateAsset (const CYIString &filename)
 
static std::shared_ptr< CYIAssetViewTemplateCreateAssetFromPath (const CYIString &path)
 

Member Function Documentation

static std::shared_ptr<CYIAssetViewTemplate> CYIViewTemplateFactory::CreateAsset ( const CYIString filename)
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 std::shared_ptr<CYIAssetViewTemplate> CYIViewTemplateFactory::CreateAssetFromPath ( const CYIString path)
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.


The documentation for this class was generated from the following file: