AppState_Benchmark01.h 501 B

123456789101112131415161718192021222324
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #pragma once
  4. #include "AppState_Base.h"
  5. class AppState_Benchmark01 : public AppState_Base
  6. {
  7. public:
  8. URHO3D_OBJECT(AppState_Benchmark01, AppState_Base);
  9. public:
  10. AppState_Benchmark01(U3D::Context* context)
  11. : AppState_Base(context)
  12. {
  13. name_ = "Static Scene";
  14. }
  15. void OnEnter() override;
  16. void OnLeave() override;
  17. void HandleSceneUpdate(U3D::StringHash eventType, U3D::VariantMap& eventData);
  18. };