#ifndef XNA_GRAPHICS_ADAPTER_HPP #define XNA_GRAPHICS_ADAPTER_HPP #include "../default.hpp" namespace xna { class GraphicsAdapter { public: GraphicsAdapter(); ~GraphicsAdapter(); String Description() const; Uint DeviceId() const; String DeviceName() const; bool IsDefaultAdapter() const; intptr_t MonitorHandle() const; Uint Revision() const; Uint SubSystemId() const; Uint VendorId() const; uptr SupportedDisplayModes() const; uptr SupportedDisplayModes(SurfaceFormat surfaceFormat) const; sptr CurrentDisplayMode(); void CurrentDisplayMode(SurfaceFormat surfaceFormat, Uint width, Uint height); static uptr DefaultAdapter(); static void Adapters(std::vector>& adapters); static void Adapters(std::vector>& adapters); public: struct PlatformImplementation; uptr impl = nullptr; }; } #endif