BsD3D9VideoModeInfo.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsD3D9Prerequisites.h"
  5. #include "BsVideoModeInfo.h"
  6. namespace BansheeEngine
  7. {
  8. /** @addtogroup D3D9
  9. * @{
  10. */
  11. /** @copydoc VideoMode */
  12. class BS_D3D9_EXPORT D3D9VideoMode : public VideoMode
  13. {
  14. public:
  15. D3D9VideoMode(UINT32 width, UINT32 height, float refreshRate, UINT32 outputIdx);
  16. private:
  17. friend class D3D9VideoOutputInfo;
  18. };
  19. /** @copydoc VideoOutputInfo */
  20. class BS_D3D9_EXPORT D3D9VideoOutputInfo : public VideoOutputInfo
  21. {
  22. public:
  23. D3D9VideoOutputInfo(IDirect3D9* d3d9device, UINT32 adapterIdx);
  24. /** Gets a Win32 handle to the monitor referenced by this object. */
  25. HMONITOR getMonitorHandle() const { return mMonitorHandle; }
  26. private:
  27. HMONITOR mMonitorHandle;
  28. };
  29. /** @copydoc VideoModeInfo */
  30. class BS_D3D9_EXPORT D3D9VideoModeInfo : public VideoModeInfo
  31. {
  32. public:
  33. D3D9VideoModeInfo(IDirect3D9* d3d9device);
  34. };
  35. /** @} */
  36. }