internal DisplayModeKhr(DisplayKhr parent, DisplayModeCreateInfoKhr *createInfo, ref AllocationCallbacks?allocator) { Parent = parent; Allocator = allocator; long handle; Result result = vkCreateDisplayModeKHR(Parent.Parent, Parent, createInfo, NativeAllocator, &handle); VulkanException.ThrowForInvalidResult(result); Handle = handle; }
public static extern unsafe Result vkCreateDisplayModeKHR(IntPtr physicalDevice, ulong display, DisplayModeCreateInfoKhr *pCreateInfo, AllocationCallbacks *pAllocator, ulong *pMode);
internal static unsafe extern Result vkCreateDisplayModeKHR(PhysicalDevice physicalDevice, DisplayKhr display, DisplayModeCreateInfoKhr *CreateInfo, AllocationCallbacks *Allocator, out IntPtr pMode);
internal static unsafe extern Result vkCreateDisplayModeKHR(IntPtr physicalDevice, UInt64 display, DisplayModeCreateInfoKhr *pCreateInfo, AllocationCallbacks *pAllocator, UInt64 *pMode);
internal static unsafe extern Result vkCreateDisplayModeKHR(IntPtr physicalDevice, UInt64 display, DisplayModeCreateInfoKhr *CreateInfo, IntPtr Allocator, UInt64 *Mode);