Renderer: Implement and use debug names

This commit is contained in:
SirLynix
2022-12-02 22:46:43 +01:00
parent 54aafe05a1
commit 77642cf431
74 changed files with 290 additions and 38 deletions

View File

@@ -10,6 +10,7 @@
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Config.hpp>
#include <memory>
#include <string_view>
namespace Nz
{
@@ -28,6 +29,8 @@ namespace Nz
CommandBuffer(CommandBuffer&&) = delete;
virtual ~CommandBuffer();
virtual void UpdateDebugName(std::string_view name) = 0;
CommandBuffer& operator=(const CommandBuffer&) = delete;
CommandBuffer& operator=(CommandBuffer&&) = delete;