Will metal-cpp-extensions headers for Appkit and MetalKit be maintained?

Hi,

The metal-cpp distribution appears to only contain headers for Foundation and Quartzcore. The LearnMetalCPP download [1] provides a ZIP with an metal-cpp-extensions directory containing AppKit.hpp and MetalKit.hpp headers. First question: Are these headers distributed anywhere else more publicly? Without these headers only the renderer can be fully written in C++ as far as I can tell, i.e. no complete C++ NSApplication. Second question: Will these headers, if needed, be maintained (e.g. updated and/or extended) by Apple along side metal-cpp?

[1] https://developer.apple.com/metal/cpp/

Thank you and regards.

Answered by DTS Engineer in 824429022

Hello,

The scope of Metal-cpp is constrained by design and you are to leverage more with bridge casting (preferably in your own headers).

Re: "Are these headers distributed anywhere else more publicly?"

Not that I'm aware of and I doubt that will change (although I'm unable to say that with 100% certainty).

Re: "Will these headers, if needed, be maintained (e.g. updated and/or extended) by Apple along side metal-cpp?"

Yes

In regards to the second question. After having looked in more details at what is provided, or rather what is missing, the headers (and resulting implementation) is missing many vital parts of the Foundation (e.g. NSRunloop.hpp) and AppKit (e.g. NSEvent.hpp) frameworks. It is however possible to extend the headers yourself, with some effort.

Hello,

The scope of Metal-cpp is constrained by design and you are to leverage more with bridge casting (preferably in your own headers).

Re: "Are these headers distributed anywhere else more publicly?"

Not that I'm aware of and I doubt that will change (although I'm unable to say that with 100% certainty).

Re: "Will these headers, if needed, be maintained (e.g. updated and/or extended) by Apple along side metal-cpp?"

Yes

Will metal-cpp-extensions headers for Appkit and MetalKit be maintained?
 
 
Q