mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
429 B
C++
14 lines
429 B
C++
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
|
// SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
|
|
|
class Error;
|
|
struct WindowInfo;
|
|
|
|
namespace CocoaTools {
|
|
/// Creates metal layer on specified window surface.
|
|
void* CreateMetalLayer(const WindowInfo& wi, Error* error);
|
|
|
|
/// Destroys metal layer on specified window surface.
|
|
void DestroyMetalLayer(const WindowInfo& wi, void* layer);
|
|
} // namespace CocoaTools
|