| 1 | # Metal Rendering Device |
| 2 | |
| 3 | This document aims to describe the Metal rendering device implementation in Godot. |
| 4 | |
| 5 | ## Future work / ideas |
| 6 | |
| 7 | * Use placement heaps |
| 8 | * Explicit hazard tracking |
| 9 | * [MetalFX] upscaling support? |
| 10 | |
| 11 | ## Acknowledgments |
| 12 | |
| 13 | The Metal rendering owes a lot to the work of the [MoltenVK] project, which is a Vulkan implementation on top of Metal. |
| 14 | In accordance with the Apache 2.0 license, the following copyright notices have been included where applicable: |
| 15 | |
| 16 | ``` |
| 17 | /**************************************************************************/ |
| 18 | /* */ |
| 19 | /* Portions of this code were derived from MoltenVK. */ |
| 20 | /* */ |
| 21 | /* Copyright (c) 2015-2023 The Brenwill Workshop Ltd. */ |
| 22 | /* (http://www.brenwill.com) */ |
| 23 | /* */ |
| 24 | /* Licensed under the Apache License, Version 2.0 (the "License"); */ |
| 25 | /* you may not use this file except in compliance with the License. */ |
| 26 | /* You may obtain a copy of the License at */ |
| 27 | /* */ |
| 28 | /* http://www.apache.org/licenses/LICENSE-2.0 */ |
| 29 | /* */ |
| 30 | /* Unless required by applicable law or agreed to in writing, software */ |
| 31 | /* distributed under the License is distributed on an "AS IS" BASIS, */ |
| 32 | /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ |
| 33 | /* implied. See the License for the specific language governing */ |
| 34 | /* permissions and limitations under the License. */ |
| 35 | /**************************************************************************/ |
| 36 | ``` |
| 37 | |
| 38 | [MoltenVK]: https://github.com/KhronosGroup/MoltenVK |
| 39 | [MetalFX]: https://developer.apple.com/documentation/metalfx?language=objc |