7 #import <QuartzCore/CAMetalLayer.h> 8 #import <MetalKit/MetalKit.h> 12 #if !defined( RENDERER_D3D12 ) && !defined( RENDERER_VULKAN ) && !defined( RENDERER_METAL ) && !defined( RENDERER_OPENGL ) && !defined( RENDERER_NULL ) 13 #error No renderer defined 129 void Draw( Texture2D* texture,
float x,
float y,
float xSize,
float ySize,
float xScreenSize,
float yScreenSize );
135 void EnableWindowsMemleakDetection();
138 void LoadBuiltinAssets();
141 void InitGfxDeviceForEditor(
int width,
int height );
144 void InitMetal( id< MTLDevice > metalDevice, MTKView* view,
int sampleCount );
145 void SetCurrentDrawableMetal( id <CAMetalDrawable> drawable, MTLRenderPassDescriptor* renderPass );
153 void Assert(
bool condition,
const char* message );
164 void Print(
const char* format, ... );
167 void ReloadChangedAssets();
171 std::string GetStatistics();
172 int GetDrawCallCount();
173 int GetVertexBufferBindCount();
174 int GetTextureBindCount();
175 int GetShaderBindCount();
176 int GetRenderTargetBindCount();
177 int GetBarrierCallCount();
178 int GetFenceCallCount();
179 void GetGpuMemoryUsage(
unsigned& outUsedMBytes,
unsigned& outBudgetMBytes );
Definition: AudioClip.hpp:4