Deprecate profiler categories based on global enum
(to be supplanted by registered budgets in the future) Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <AzCore/Debug/Profiler.h>
|
||||
#include <AzCore/std/smart_ptr/unique_ptr.h>
|
||||
#include <AzCore/std/containers/map.h>
|
||||
#include <AzCore/std/containers/set.h>
|
||||
@@ -304,7 +305,7 @@ namespace NvCloth
|
||||
const AZ::Vector3& fabricGravity,
|
||||
bool useGeodesicTether)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Cloth);
|
||||
AZ_PROFILE_FUNCTION(Cloth);
|
||||
|
||||
return Internal::Cook(particles, indices, fabricGravity, useGeodesicTether);
|
||||
}
|
||||
@@ -317,7 +318,7 @@ namespace NvCloth
|
||||
AZStd::vector<int>& remappedVertices,
|
||||
bool removeStaticTriangles)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Cloth);
|
||||
AZ_PROFILE_FUNCTION(Cloth);
|
||||
|
||||
// Weld vertices together
|
||||
AZStd::vector<SimParticleFormat> weldedParticles;
|
||||
|
||||
Reference in New Issue
Block a user