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.

40 lines
1.2 KiB

  1. unit uvkuQueue;
  2. {$mode objfpc}{$H+}
  3. interface
  4. uses
  5. Classes, SysUtils,
  6. Vulkan, uvkuBase;
  7. type
  8. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  9. TvkuQueue = class(TvkuObject)
  10. private
  11. fHandle: VkQueue;
  12. fDeviceCommands: TVkDeviceCommands;
  13. public
  14. property Handle: VkQueue read fHandle;
  15. property DeviceCommands: TVkDeviceCommands read fDeviceCommands;
  16. constructor Create(
  17. const aHandle: VkQueue;
  18. const aDeviceCommands: TVkDeviceCommands);
  19. end;
  20. implementation
  21. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  22. //TvkuQueue//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  23. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  24. constructor TvkuQueue.Create(const aHandle: VkQueue; const aDeviceCommands: TVkDeviceCommands);
  25. begin
  26. inherited Create;
  27. fHandle := aHandle;
  28. fDeviceCommands := aDeviceCommands;
  29. end;
  30. end.