added AssetPath.h
This commit is contained in:
parent
d40ae5e254
commit
eb60dac8cb
30
inc/hgl/asset/AssetPath.h
Normal file
30
inc/hgl/asset/AssetPath.h
Normal file
@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include<hgl/type/String.h>
|
||||
|
||||
namespace hgl::asset
|
||||
{
|
||||
/**
|
||||
* 资产位置枚举
|
||||
*/
|
||||
enum class Location
|
||||
{
|
||||
Asset=0,
|
||||
Engine,
|
||||
PlugIn,
|
||||
ExtPack,
|
||||
OS,
|
||||
};//
|
||||
|
||||
/**
|
||||
* 资产路径
|
||||
* @see doc/AssetPath.md
|
||||
*/
|
||||
class AssetPath
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
|
||||
};//class AssetPath
|
||||
}//namespace hgl::asset
|
@ -14,15 +14,14 @@ namespace hgl
|
||||
/**
|
||||
* 资产索引方法
|
||||
*/
|
||||
enum class IndexType
|
||||
enum class AssetIndexType
|
||||
{
|
||||
Anonymous=0, ///<匿名访问
|
||||
Name, ///<字符串名称
|
||||
ID, ///<ID
|
||||
Position, ///<坐标访问(如图数据库)
|
||||
Unknow=0, ///<未知类型
|
||||
ID, ///<ID
|
||||
Name, ///<字符串名称
|
||||
|
||||
ENUM_CLASS_RANGE(Anonymous,Position)
|
||||
};//enum class IndexType
|
||||
ENUM_CLASS_RANGE(ID,Name)
|
||||
};//enum class AssetIndexType
|
||||
|
||||
/**
|
||||
* 资产来源
|
||||
|
Loading…
x
Reference in New Issue
Block a user