VkFenceFactory.cpp 467 B

1234567891011121314151617
  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. #include <AnKi/Gr/Vulkan/VkFenceFactory.h>
  6. #include <AnKi/Gr/Vulkan/VkGrManager.h>
  7. namespace anki {
  8. void MicroFenceImpl::setName(CString name) const
  9. {
  10. ANKI_ASSERT(m_handle);
  11. getGrManagerImpl().trySetVulkanHandleName(name, VK_OBJECT_TYPE_FENCE, m_handle);
  12. }
  13. } // end namespace anki