Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public static extern unsafe Result vkCreateDisplayModeKHR(IntPtr physicalDevice, ulong display, DisplayModeCreateInfoKhr *pCreateInfo, AllocationCallbacks *pAllocator, ulong *pMode);
Exemplo n.º 3
0
 internal static unsafe extern Result vkCreateDisplayModeKHR(PhysicalDevice physicalDevice, DisplayKhr display, DisplayModeCreateInfoKhr *CreateInfo, AllocationCallbacks *Allocator, out IntPtr pMode);
Exemplo n.º 4
0
 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);