Renderer: Implement and use debug names
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
void VulkanCommandBuffer::UpdateDebugName(std::string_view name)
|
||||
{
|
||||
return m_owner.m_device->SetDebugName(VK_OBJECT_TYPE_COMMAND_BUFFER, static_cast<UInt64>(reinterpret_cast<std::uintptr_t>(static_cast<VkCommandBuffer>(m_commandBuffer))), name);
|
||||
}
|
||||
|
||||
void VulkanCommandBuffer::Release()
|
||||
{
|
||||
m_owner.Release(*this);
|
||||
|
||||
Reference in New Issue
Block a user