Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public static extern unsafe Result vkCreateQueryPool(IntPtr device, QueryPoolCreateInfo *pCreateInfo, AllocationCallbacks *pAllocator, ulong *pQueryPool);
Exemplo n.º 3
0
 internal static unsafe extern Result vkCreateQueryPool(Device device, QueryPoolCreateInfo *CreateInfo, AllocationCallbacks *Allocator, out IntPtr pQueryPool);
Exemplo n.º 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);