DeviceInfo.h 370 B

12345678910111213141516171819202122
  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/String.h>
  8. namespace GPU {
  9. struct DeviceInfo final {
  10. String vendor_name;
  11. String device_name;
  12. unsigned num_texture_units;
  13. unsigned num_lights;
  14. u8 stencil_bits;
  15. bool supports_npot_textures;
  16. };
  17. }