Gems/PhysX

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-09-03 20:37:48 -07:00
parent 4a972d96f9
commit 27cdf174cf
5 changed files with 128 additions and 20 deletions
@@ -184,17 +184,36 @@ namespace PhysX::Benchmarks
: public PhysXBaseBenchmarkFixture
{
public:
virtual void SetUp([[maybe_unused]] const ::benchmark::State &state) override
void internalSetUp()
{
PhysXBaseBenchmarkFixture::SetUpInternal();
}
virtual void TearDown([[maybe_unused]] const ::benchmark::State &state) override
void internalTearDown()
{
PhysXBaseBenchmarkFixture::TearDownInternal();
}
protected:
public:
void SetUp(const benchmark::State&) override
{
internalSetUp();
}
void SetUp(benchmark::State&) override
{
internalSetUp();
}
void TearDown(const benchmark::State&) override
{
internalTearDown();
}
void TearDown(benchmark::State&) override
{
internalTearDown();
}
// PhysXBaseBenchmarkFixture Interface ---------
AzPhysics::SceneConfiguration GetDefaultSceneConfiguration() override
{