Open Y-Less opened 5 years ago
The filter on "...Info" structs was likely to identify types used purely for input (e.g. CreateInfo types) which are/were not consistently identified in vk.xml; there's no handling for this case of structs as callback parameters. The current implementation of callbacks needs several improvements in any case, but the Debug Utils use case raises the priority a little.
Unless I can find a more intelligent filter to handle the input Info structs case, I'll find a subfilter for Info structs that are passed back out from the API in callback delegates.
This is mainly an issue for
DebugUtilsMessengerCallbackData
, which containsDebugUtilsObjectNameInfo[]
, and thus is transitively not unmarshalled for use inCreateDebugUtilsMessenger
, I'm currently doing this:I tried to match the generated code style as much as possible, but without being able to use any of the internal
HeapUtil
methods.