Add support for renaming GPU resources (development builds only)
This commit is contained in:
@@ -159,14 +159,6 @@ public:
|
||||
|
||||
public:
|
||||
// [GPUResource]
|
||||
ResourceType GetResourceType() const final override
|
||||
{
|
||||
return ResourceType::Texture;
|
||||
}
|
||||
#if GPU_ENABLE_RESOURCE_NAMING
|
||||
String GetName() const override
|
||||
{
|
||||
return String::Format(TEXT("RenderOutput {0}x{1}"), GetWidth(), GetHeight());
|
||||
}
|
||||
#endif
|
||||
String ToString() const override;
|
||||
ResourceType GetResourceType() const final override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user