VkFence.h 583 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (C) 2009-present, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <AnKi/Gr/Fence.h>
  7. #include <AnKi/Gr/Vulkan/VkSemaphoreFactory.h>
  8. namespace anki {
  9. /// @addtogroup vulkan
  10. /// @{
  11. /// Buffer implementation
  12. class FenceImpl final : public Fence
  13. {
  14. public:
  15. MicroSemaphorePtr m_semaphore; ///< Yes, it's a timeline semaphore and not a VkFence.
  16. FenceImpl(CString name)
  17. : Fence(name)
  18. {
  19. }
  20. ~FenceImpl()
  21. {
  22. }
  23. };
  24. /// @}
  25. } // end namespace anki