blob: 427cf1570e37f13fc31dbaa5fc547b1f1e869092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
namespace gfx
{
// Utility functions for Cocoa
struct CocoaUtil
{
static void getNSWindowContentSize(void* nswindow, int* widthOut, int* heightOut);
static void* createMetalLayer(void* nswindow);
static void destroyMetalLayer(void* metalLayer);
static void* nextDrawable(void* metalLayer);
};
} // namespace gfx
|