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

@@ -101,14 +101,9 @@ String GPUSampler::ToString() const
#endif
}
GPUResource::ResourceType GPUSampler::GetResourceType() const
GPUResourceType GPUSampler::GetResourceType() const
{
return ResourceType::Sampler;
}
GPUResource::ObjectType GPUSampler::GetObjectType() const
{
return ObjectType::Other;
return GPUResourceType::Sampler;
}
void GPUSampler::OnReleaseGPU()