You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: