PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
GLTexture.hpp File Reference
#include <stdio.h>
#include <string>
#include "GL/glew.h"
#include <SDL2/SDL_image.h>
#include "graphics/GLTransformable.hpp"
Include dependency graph for GLTexture.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pk::GLTexture
 Class for creating textures usable with OpenGL from SDL. More...
 

Namespaces

 pk
 

Enumerations

enum  pk::GLTextureWrap {
  pk::CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE, pk::CLAMP_TO_BORDER = GL_CLAMP_TO_BORDER, pk::MIRRORED_REPEAT = GL_MIRRORED_REPEAT, pk::REPEAT = GL_REPEAT,
  pk::MIRROR_CLAMP_TO_EDGE = GL_MIRROR_CLAMP_TO_EDGE
}
 
enum  pk::GLTextureFilter {
  pk::NEAREST = GL_NEAREST, pk::LINEAR = GL_LINEAR, pk::NEAREST_MIPMAP_NEAREST = GL_NEAREST_MIPMAP_NEAREST, pk::LINEAR_MIPMAP_NEAREST = GL_LINEAR_MIPMAP_NEAREST,
  pk::LINEAR_MIPMAP_LINEAR = GL_LINEAR_MIPMAP_LINEAR
}
 Values for setting the texture filter functions for GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R. These values have been aliased with member data (SEE MEMBER DATA FOR DETAILS). For further reference, refer to the OpenGL refpages: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml. More...