Common: Split some routines into CocoaTools
This commit is contained in:
12
src/util/metal_layer.h
Normal file
12
src/util/metal_layer.h
Normal file
@ -0,0 +1,12 @@
|
||||
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||
|
||||
struct WindowInfo;
|
||||
|
||||
namespace CocoaTools {
|
||||
/// Creates metal layer on specified window surface.
|
||||
bool CreateMetalLayer(WindowInfo* wi);
|
||||
|
||||
/// Destroys metal layer on specified window surface.
|
||||
void DestroyMetalLayer(WindowInfo* wi);
|
||||
} // namespace CocoaTools
|
||||
Reference in New Issue
Block a user