Texture.h 495 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/RefCounted.h>
  8. namespace GL {
  9. class Texture : public RefCounted<Texture> {
  10. public:
  11. virtual ~Texture() { }
  12. virtual bool is_texture_1d() const { return false; }
  13. virtual bool is_texture_2d() const { return false; }
  14. virtual bool is_texture_3d() const { return false; }
  15. virtual bool is_cube_map() const { return false; }
  16. };
  17. }