Exemplo n.º 1
0
        public static void vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, VkAllocationCallbacks pAllocator)
        {
            VkPreconditions.CheckNull(instance, nameof(instance));

            if (callback != null)
            {
                GetInstance(instance).DestroyDebugReportCallback(callback);
            }
        }
Exemplo n.º 2
0
        public static VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT pCreateInfo, VkAllocationCallbacks pAllocator, out VkDebugReportCallbackEXT pCallback)
        {
            VkPreconditions.CheckNull(instance, nameof(instance));

            return(GetInstance(instance).CreateDebugReportCallback(pCreateInfo, out pCallback));
        }