Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/TextureHash.h @ 362:a64a6c34868f
vacuum -sg 15
author | e065746@localhost.localdomain |
---|---|
date | Fri, 17 Jul 2009 23:02:07 +0900 |
parents | 51ffd144f62c |
children |
line wrap: on
line source
#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* image_name); int hash_regist(const char* image_name, int &tx_id); }; #endif