public VkDebugUtilsObjectNameInfoEXT(VkObjectType objectType, ulong handle) { this._sType = (int)VkStructureType.DebugUtilsObjectNameInfoEXT; pNext = IntPtr.Zero; this._objectType = (int)objectType; objectHandle = handle; pObjectName = IntPtr.Zero; }
private static InternalVkObjectType ToInternal(VkObjectType vkObjectType) { switch (vkObjectType) { case VkObjectType.User: { return(InternalVkObjectType.User); } case VkObjectType.Group: { return(InternalVkObjectType.Group); } default: { throw new NotImplementedException(); } } }