duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

metal_layer.h (389B)


      1 // SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
      2 // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
      3 
      4 struct WindowInfo;
      5 
      6 namespace CocoaTools {
      7 /// Creates metal layer on specified window surface.
      8 bool CreateMetalLayer(WindowInfo* wi);
      9 
     10 /// Destroys metal layer on specified window surface.
     11 void DestroyMetalLayer(WindowInfo* wi);
     12 } // namespace CocoaTools