/// <summary> /// Lists physical device's format capabilities. /// </summary> public unsafe SharpVk.FormatProperties GetFormatProperties(SharpVk.Format format) { try { SharpVk.FormatProperties result = default(SharpVk.FormatProperties); SharpVk.FormatProperties marshalledFormatProperties = default(SharpVk.FormatProperties); Interop.Commands.vkGetPhysicalDeviceFormatProperties(this.handle, format, &marshalledFormatProperties); result = marshalledFormatProperties; return(result); } finally { Interop.HeapUtil.FreeAll(); } }
/// <summary> /// Lists physical device's format capabilities. /// </summary> public unsafe SharpVk.FormatProperties GetFormatProperties(SharpVk.Format format) { try { SharpVk.FormatProperties result = default(SharpVk.FormatProperties); SharpVk.FormatProperties marshalledFormatProperties = default(SharpVk.FormatProperties); SharpVk.Interop.VkPhysicalDeviceGetFormatPropertiesDelegate commandDelegate = commandCache.GetCommandDelegate <SharpVk.Interop.VkPhysicalDeviceGetFormatPropertiesDelegate>("vkGetPhysicalDeviceFormatProperties", ""); commandDelegate(this.handle, format, &marshalledFormatProperties); result = marshalledFormatProperties; return(result); } finally { Interop.HeapUtil.FreeAll(); } }