texture.hpp 346 B

1234567891011121314151617181920
  1. //
  2. // texture.hpp
  3. // graphics
  4. //
  5. // Created by Sam Jaffe on 7/5/16.
  6. //
  7. #pragma once
  8. #include "game/math/math_fwd.hpp"
  9. #include "game/util/identity.hpp"
  10. #include "vector/vector.hpp"
  11. namespace graphics {
  12. struct texture : public identity<texture> {
  13. texture(unsigned int id, math::vec2i const & size);
  14. math::vec2i const size;
  15. };
  16. }