Aether3D Game Engine
System.hpp
1 #ifndef SYSTEM_H
2 #define SYSTEM_H
3 
4 #if AETHER3D_METAL
5 #import <UIKit/UIKit.h>
6 #import <QuartzCore/CAMetalLayer.h>
7 #endif
8 
78 namespace ae3d
79 {
80  namespace System
81  {
83  void InitAudio();
84 
86  void InitGamePad();
87 
89  void Deinit();
90 
92  void EnableWindowsMemleakDetection();
93 
95  void LoadBuiltinAssets();
96 
98  void InitGfxDeviceForEditor( int width, int height );
99 
100 #if AETHER3D_METAL
101  void InitMetal( CAMetalLayer* metalLayer );
102  void EndFrame();
103  void BeginFrame();
104 #endif
105 
110  void Assert( bool condition, const char* message );
111 
121  void Print( const char* format, ... );
122 
124  void ReloadChangedAssets();
125 
126  namespace Statistics
127  {
128  int GetDrawCallCount();
129  int GetVertexBufferBindCount();
130  int GetTextureBindCount();
131  }
132  }
133 }
134 #endif
Definition: AudioClip.hpp:4