blob: 971a890563ad111297e654daff73c4624a6e7e70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef __ASURA_ENGINE_STRINGMAP_H__
#define __ASURA_ENGINE_STRINGMAP_H__
#include "String.h"
namespace AsuraEngine
{
///
/// һ˫һһӦӳ䣬shader uniformsstatemathine state parameterID
///
template<typename key_type>
class StringMap
{
public:
bool ContainsKey(const key_type& key);
bool ContainsString(const String& str);
String GetStringByKey(const key_type& key);
key_type GetKeyByString(const String& str);
};
}
#endif
|