You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
1.2 KiB

  1. unit uvkuDevice;
  2. {$mode objfpc}{$H+}
  3. interface
  4. uses
  5. Classes, SysUtils,
  6. Vulkan;
  7. type
  8. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  9. TvkuDevice = class(TObject)
  10. private
  11. fHandle: VkDevice;
  12. public
  13. property Handle: VkDevice read fHandle;
  14. constructor Create(const aPhysicalDevice: VkDevice);
  15. destructor Destroy; override;
  16. end;
  17. implementation
  18. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  19. //TvkuDevice/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  20. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  21. constructor TvkuDevice.Create(const aPhysicalDevice: VkDevice);
  22. var
  23. info: TVkDeviceCreateInfo;
  24. begin
  25. inherited Create;
  26. end;
  27. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  28. destructor TvkuDevice.Destroy;
  29. begin
  30. inherited Destroy;
  31. end;
  32. end.