internal QueryPool(Device parent, QueryPoolCreateInfo *createInfo, ref AllocationCallbacks?allocator) { Parent = parent; Allocator = allocator; createInfo->Prepare(); long handle; Result result = vkCreateQueryPool(Parent, createInfo, NativeAllocator, &handle); VulkanException.ThrowForInvalidResult(result); Handle = handle; }
public static extern unsafe Result vkCreateQueryPool(IntPtr device, QueryPoolCreateInfo *pCreateInfo, AllocationCallbacks *pAllocator, ulong *pQueryPool);
internal static unsafe extern Result vkCreateQueryPool(Device device, QueryPoolCreateInfo *CreateInfo, AllocationCallbacks *Allocator, out IntPtr pQueryPool);
internal static unsafe extern Result vkCreateQueryPool(IntPtr device, QueryPoolCreateInfo *pCreateInfo, AllocationCallbacks *pAllocator, UInt64 *pQueryPool);
internal static unsafe extern Result vkCreateQueryPool(IntPtr device, QueryPoolCreateInfo *CreateInfo, IntPtr Allocator, UInt64 *QueryPool);