Added GenerateTexture, GenerateMipMapTexture and DeleteTexture to CommonFunctions

This commit is contained in:
Teejoon
2016-02-28 16:16:22 +01:00
parent d3a245606a
commit 9cbc6f7755
11 changed files with 74 additions and 85 deletions
@@ -9,6 +9,9 @@
namespace CommonFunctions
{
Texture* LoadTexture(std::string path, bool threaded);
void GenerateTexture(GLuint* texture, GLenum wrapping, GLenum filtering, glm::vec2 dimensions, GLint internalFormat, GLint format, GLenum type);
void GenerateMipMapTexture(GLuint* texture, GLenum wrapping, glm::vec2 dimensions, GLint format, GLenum type, GLint numMipMaps);
void DeleteTexture(GLuint* texture);
};
#endif