view Renderer/test_render/hash_texture.h @ 480:75e4afa40da2 draft

TaskQueueInfo initiaization...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 05 Oct 2009 12:24:07 +0900
parents 15bfacccde99
children
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*);
};