2
0

BsScriptProfilerOverlayInternal.h 965 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "BsScriptEnginePrerequisites.h"
  3. #include "BsScriptObject.h"
  4. #include "BsProfilerOverlay.h"
  5. namespace BansheeEngine
  6. {
  7. class BS_SCR_BE_EXPORT ScriptProfilerOverlayInternal : public ScriptObject < ScriptProfilerOverlayInternal >
  8. {
  9. public:
  10. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "ProfilerOverlayInternal")
  11. ProfilerOverlayInternal* getInternal() const { return mProfilerOverlayInternal; }
  12. private:
  13. ScriptProfilerOverlayInternal(MonoObject* managedInstance, const SPtr<CameraHandler>& camera);
  14. ~ScriptProfilerOverlayInternal();
  15. static void internal_CreateInstance(MonoObject* instance, ScriptCameraHandler* camera);
  16. static void internal_SetType(ScriptProfilerOverlayInternal* thisPtr, ProfilerOverlayType type);
  17. static void internal_Update(ScriptProfilerOverlayInternal* thisPtr);
  18. static void internal_DestroyInstance(ScriptProfilerOverlayInternal* thisPtr);
  19. ProfilerOverlayInternal* mProfilerOverlayInternal;
  20. };
  21. }