@Texture.h 1008 B

12345678910111213141516171819202122
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class Texture
  4. {
  5. UID id, // texture id
  6. src_tex_id; // if this is a dynamically generated texture, then 'src_tex_id' points to the original texture from which it was created
  7. bool uses_alpha, // if uses alpha channel
  8. keep_hq, // if keep high quality and don't convert to low quality format
  9. mtrl_base_1, // if this is material base_1 texture
  10. regenerate; // if this texture needs to be regenerated
  11. byte downsize; // blur mip map range
  12. Texture& downSize(int size);
  13. static int CompareTex(C Texture &tex, C UID &tex_id);
  14. public:
  15. Texture();
  16. };
  17. /******************************************************************************/
  18. /******************************************************************************/
  19. /******************************************************************************/