Open
Description
For enums that are present as fields in API facing structs (e.g. DescriptorType) it would be great to have them provided an explicit size.
The use-case is for managed bindings where one would ideally like to provide a single platform-independent managed binary yet have such structures blittable (at least in runtimes that support this such as .Net).
Note this basically means the enums surfaced in the *Desc structures etc. There is naturally no reason to care about this for the resultant API objects that should naturally be opaque pointers anyway [on the managed side] - so e.g. BufferDesc is transparent, Buffer is opaque.
Would this be possible?
Metadata
Assignees
Labels
No labels