Exemple #1
0
        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);
Exemple #3
0
 internal static unsafe extern Result vkCreateQueryPool(Device device, QueryPoolCreateInfo *CreateInfo, AllocationCallbacks *Allocator, out IntPtr pQueryPool);
Exemple #4
0
 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);