Mercurial > hg > Members > kono > Cerium
diff Renderer/test_render/TextureHash.h @ 283:55ea4465b1a2
fix test_render
author | e065746@localhost.localdomain |
---|---|
date | Fri, 05 Jun 2009 16:49:12 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/test_render/TextureHash.h Fri Jun 05 16:49:12 2009 +0900 @@ -0,0 +1,21 @@ +#ifndef INCLUDED_TEXTURE_HASH +#define INCLUDED_TEXTURE_HASH + +const int TABLE_SIZE = 8192; + +struct hashtable{ + int tx_id; + char* key; +}; + +class TextureHash { +public: + hashtable *table; + + TextureHash(void); + ~TextureHash(void); + int hash_function(const char*); + int hash_regist(const char*); +}; + +#endif