internal static unsafe PhysicalDeviceProperties2 MarshalFrom(Interop.PhysicalDeviceProperties2 *value) { PhysicalDeviceProperties2 result = new PhysicalDeviceProperties2(); result.Properties = PhysicalDeviceProperties.MarshalFrom(&value->Properties); return(result); }
/// <summary> /// Returns properties of a physical device. /// </summary> public PhysicalDeviceProperties GetProperties() { unsafe { try { PhysicalDeviceProperties result = default(PhysicalDeviceProperties); Interop.PhysicalDeviceProperties marshalledProperties; Interop.Commands.vkGetPhysicalDeviceProperties(this.handle, &marshalledProperties); result = PhysicalDeviceProperties.MarshalFrom(&marshalledProperties); return(result); } finally { Interop.HeapUtil.FreeLog(); } } }