Gems/PhysX
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user