Closed ROAARKNGLn closed 6 years ago
It's a function of the Instance class:
var instance = new Instance(new InstanceCreateInfo()); var physicalDevices = instance..EnumeratePhysicalDevices();
thank you very much is there some kind of documentation? because i found the doc folder but couldn't make anything from the xml files.. can you explain to me how to read properly the documentation?
or anyone else who knows how to view/read it.. can explain to me how?
I think you should better read the documentation of the Vulkan API itself. The only difference with VulkanSharp is that methods taking instances or devices as arguments in the Vulkan API are member functions of instances or devices in VulkanSharp. If you don't find a method use the search function of GitHub and search for the method name (vkEnumeratePhysicalDevices => EnumeratePhysicalDevices) to see which classes member it is.
You should also get the vulkan debug layers from the LunarG Vulkan SDK running. It helps a lot with debugging and understanding vulkan.
i installed VulkanSharp trough the nuget package and i Can't find where EnumeratePhysicalDevices() pls help me