Added functionality to get list of devices
This commit is contained in:
parent
aff13846c1
commit
a8e5ce7903
3 changed files with 21 additions and 3 deletions
|
|
@ -453,4 +453,10 @@ Manager::getDeviceProperties() const
|
|||
return this->mPhysicalDevice->getProperties();
|
||||
}
|
||||
|
||||
std::vector<vk::PhysicalDevice>
|
||||
Manager::listDevices() const
|
||||
{
|
||||
return this->mInstance->enumeratePhysicalDevices();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue