Merged in from main repository (originally from love-mipmap fork)

This commit is contained in:
Alexander Szpakowski
2013-01-12 18:07:14 -05:00
21 changed files with 677 additions and 318 deletions
+23
View File
@@ -22,6 +22,7 @@
#define LOVE_GRAPHICS_OPENGL_OPENGL_H
#include "GLee.h"
#include "graphics/Image.h"
namespace love
{
@@ -66,6 +67,28 @@ void bindTextureToUnit(GLuint texture, GLenum textureunit, bool restoreprev);
**/
void deleteTexture(GLuint texture);
/**
* Sets the image filter mode for the currently bound texture
* @param f The image filter to set
*/
void setTextureFilter(const graphics::Image::Filter &f);
/**
* Returns the image filter mode for the currently bound texture
*/
graphics::Image::Filter getTextureFilter();
/**
* Sets the image wrap mode for the currently bound texture
* @param w The wrap mode to set
*/
void setTextureWrap(const graphics::Image::Wrap &w);
/**
* Returns the image wrap mode for the currently bound texture
*/
graphics::Image::Wrap getTextureWrap();
} // opengl
} // graphics
} // love