unsigned height = static_cast<const Texture2D *>(this)->height;
unsigned levels = static_cast<const Texture2D *>(this)->levels;
unsigned height = static_cast<const Texture2D *>(this)->height;
unsigned levels = static_cast<const Texture2D *>(this)->levels;