Improve naming various GPU resources

This commit is contained in:
Wojciech Figat
2022-12-09 11:27:41 +01:00
parent b33ce8d264
commit 7f0c73606c
6 changed files with 22 additions and 7 deletions

View File

@@ -35,6 +35,13 @@ public:
}
};
GPUSwapChain::GPUSwapChain()
{
#if GPU_ENABLE_RESOURCE_NAMING
_name = TEXT("Swap Chain (backbuffers)");
#endif
}
Task* GPUSwapChain::DownloadDataAsync(TextureData& result)
{
if (_downloadTask)