NativeWindowAndroid.h 531 B

123456789101112131415161718192021222324
  1. // Copyright (C) 2009-2022, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <AnKi/Core/NativeWindow.h>
  7. #include <android_native_app_glue.h>
  8. namespace anki {
  9. /// Native window implementation for Android
  10. class NativeWindowAndroid : public NativeWindow
  11. {
  12. public:
  13. ANativeWindow* m_nativeWindow = nullptr;
  14. ~NativeWindowAndroid();
  15. Error init(const NativeWindowInitInfo& init);
  16. };
  17. } // end namespace anki