FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

Debug callback: convert uint64 to c# object #40

Open KeKl opened 6 years ago

KeKl commented 6 years ago

May it would be good to get a "real" object or null instead of the ulong @object. Is this possible?

public unsafe delegate Bool32 DebugReportCallbackDelegate(DebugReportFlags flags, ortObjectType objectType, ulong @object, Size location, int messageCode, string layerPrefix, string message, IntPtr userData);