X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftexture.h;h=6c3541d446ef01d817ae88e3611d3dccb0a05f9e;hb=a361efc05fcad11b2918f3cd7abdebe794b131d8;hp=55eda001a79ec0b12dc3c1e52628327653733365;hpb=85e83ace47e5a9a8ae7263886255dd81afc69278;p=libs%2Fgl.git diff --git a/source/texture.h b/source/texture.h index 55eda001..6c3541d4 100644 --- a/source/texture.h +++ b/source/texture.h @@ -24,16 +24,11 @@ enum TextureFilter LINEAR_MIPMAP_LINEAR = GL_LINEAR_MIPMAP_LINEAR }; -enum TextureFormat -{ - LUMINANCE8, - LUMINANCE8_ALPHA8, - RGB8, - RGBA8, - BGR8, - BGRA8 -}; - +/** +Base class for textures. This class only defines operations common for all +texture types and is not instantiable. For specifying images for textures, see +one of the dimensioned texture classes. +*/ class Texture { public: