Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/TextureHash.h @ 412:68e199a4ea7b
chain_old.cc add (Application/)
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 23 Sep 2009 17:10:10 +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