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

@@ -134,6 +134,9 @@ bool ModelTool::GenerateModelSDF(Model* inputModel, ModelData* modelData, float
SAFE_DELETE_GPU_RESOURCE(outputSDF->Texture);
return true;
}
#if !BUILD_RELEASE
outputSDF->Texture->SetName(TEXT("ModelSDF"));
#endif
}
// TODO: support GPU to generate model SDF on-the-fly (if called during rendering)