Begin unification of Canvases and Images.

This commit is contained in:
Alex Szpakowski
2020-02-03 23:05:46 -04:00
parent fc0d60a96d
commit 63c5df6aa7
16 changed files with 211 additions and 225 deletions
+8 -3
View File
@@ -128,11 +128,12 @@ public:
static love::Type type;
static int textureCount;
enum MipmapsType
enum MipmapsMode
{
MIPMAPS_NONE,
MIPMAPS_DATA,
MIPMAPS_GENERATED,
MIPMAPS_MANUAL,
MIPMAPS_AUTO,
MIPMAPS_MAX_ENUM
};
struct Slices
@@ -222,6 +223,10 @@ public:
static bool getConstant(TextureType in, const char *&out);
static std::vector<std::string> getConstants(TextureType);
static bool getConstant(const char *in, MipmapsMode &out);
static bool getConstant(MipmapsMode in, const char *&out);
static std::vector<std::string> getConstants(MipmapsMode);
protected:
void initQuad();