Add **GPU Memory profiler** to Editor

This commit is contained in:
Wojciech Figat
2022-12-08 16:30:37 +01:00
parent f2c594569d
commit df82a0f5d0
47 changed files with 548 additions and 195 deletions

View File

@@ -395,14 +395,9 @@ String GPUBuffer::ToString() const
#endif
}
GPUResource::ResourceType GPUBuffer::GetResourceType() const
GPUResourceType GPUBuffer::GetResourceType() const
{
return ResourceType::Buffer;
}
GPUResource::ObjectType GPUBuffer::GetObjectType() const
{
return ObjectType::Buffer;
return GPUResourceType::Buffer;
}
void GPUBuffer::OnReleaseGPU()