webgpu-native / webgpu-headers

**NOT STABLE YET!** See README.
https://webgpu-native.github.io/webgpu-headers/
BSD 3-Clause "New" or "Revised" License
387 stars 45 forks source link

Document wgpuGetProcAddress, copydoc for all Proc definitions #349

Closed kainino0x closed 1 month ago

kainino0x commented 1 month ago

Instead of duplicating docs, have each proc type just point to the appropriate definition and quote its docs.

Doxygen doesn't actually generate docs for the procs, I guess because they're not in a \defgroup, but it works if I do add a \defgroup. Regardless, this should hopefully work in IDEs supporting doc-comments.

Fixes #315