source: network-game/graphics_library/common/texture.hpp

Last change on this file was af116c0, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago

new graphics library code

  • Property mode set to 100644
File size: 489 bytes
Line 
1#ifndef TEXTURE_HPP
2#define TEXTURE_HPP
3
4// Load a .BMP file using our custom loader
5GLuint loadBMP_custom(const char * imagepath);
6
7//// Since GLFW 3, glfwLoadTexture2D() has been removed. You have to use another texture loading library,
8//// or do it yourself (just like loadBMP_custom and loadDDS)
9//// Load a .TGA file using GLFW's own loader
10//GLuint loadTGA_glfw(const char * imagepath);
11
12// Load a .DDS file using GLFW's own loader
13GLuint loadDDS(const char * imagepath);
14
15
16#endif
Note: See TracBrowser for help on using the repository browser.