FreeWRL/FreeX3D  3.0.0
LoadTextures.h
1 /*
2 
3 
4  */
5 
6 /****************************************************************************
7  This file is part of the FreeWRL/FreeX3D Distribution.
8 
9  Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
10 
11  FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
12  it under the terms of the GNU Lesser Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  FreeWRL/FreeX3D is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
23 ****************************************************************************/
24 
25 
26 #ifndef __FREEWRL_LOAD_TEXTURES_H__
27 #define __FREEWRL_LOAD_TEXTURES_H__
28 #include "Textures.h"
29 
30 void send_texture_to_loader(textureTableIndexStruct_s *entry);
31 bool texture_load_from_file(textureTableIndexStruct_s* this_tex, char *filename);
32 void texitem_queue_flush();
33 void texitem_queue_exit();
34 void saveImage_web3dit(struct textureTableIndexStruct *tti, char *fname);
35 
36 #endif /* __FREEWRL_LOAD_TEXTURES_H__ */