source: opengl-game/common/texture.hpp@ 92bc4fe

feature/imgui-sdl points-test
Last change on this file since 92bc4fe was 8a6d19d, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 7 years ago

Implement movement in a basic 3D scene and add some examples from the new OpenGL tutorials site

  • Property mode set to 100644
File size: 503 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.