view TaskManager/Test/test_render/hash_texture.h @ 285:4871fc824525 draft

add Doxygen
author e065746@localhost.localdomain
date Fri, 05 Jun 2009 17:24:38 +0900
parents 56db76a03294
children b3fb0013e6b2
line wrap: on
line source

const int N = 8192;

struct
hashtable{
    int tx_id;
    char* key;
};

class TextureHash {
    hashtable table[N];
public:
    hash(void);
    int hash_function(const char*);
    int hash_regist(const char*);
};