| 19 | } |
| 20 | |
| 21 | Texture::Texture () |
| 22 | : width(-1), height(-1), format(INVALID), bytesPerTexel(0), width_mask(0), height_mask(0), data(nullptr) {} |
| 23 | |
| 24 | Texture::Texture(Ref<Image> img, const std::string &&fileName) |
| 25 | : width(unsigned(img->width)), height(unsigned(img->height)), format(RGBA8), bytesPerTexel(4), width_mask(0), height_mask(0), data(nullptr), fileName(fileName) |
nothing calls this directly
no test coverage detected