Vulkan 物理设备.  
 更多...
#include <VKPhysicalDevice.h>
 | 
| 
  | VKPhysicalDevice (VkPhysicalDevice device, VkSurfaceKHR surface) | 
|   | 
| 
const VkPhysicalDeviceProperties &  | get_properties () const noexcept | 
|   | 
| 
const VkPhysicalDeviceFeatures &  | get_features () const noexcept | 
|   | 
| 
VkSurfaceKHR  | get_surface () const noexcept | 
|   | 
| 
std::string_view  | get_name () const noexcept | 
|   | 获取设备名称. 
  | 
|   | 
| 
std::string_view  | get_vendor_name () const noexcept | 
|   | 获取设备供应商名称. 
  | 
|   | 
| 
VkSurfaceCapabilitiesKHR  | get_surface_capabilities () const | 
|   | 
| 
std::vector< VkSurfaceFormatKHR >  | get_surface_formats () const | 
|   | 
| 
std::vector< VkPresentModeKHR >  | get_surface_present_modes () const | 
|   | 
| 
bool  | is_extension_available (std::string_view name) const | 
|   | 
| 
  | operator VkPhysicalDevice () | 
|   | 
| 
  | operator VkPhysicalDevice () const | 
|   | 
 | 
| 
std::optional< uint32_t >  | graphics = std::nullopt | 
|   | 
| 
std::optional< uint32_t >  | compute = std::nullopt | 
|   | 
| 
std::optional< uint32_t >  | transfer = std::nullopt | 
|   | 
| 
std::optional< uint32_t >  | present = std::nullopt | 
|   | 
该类的文档由以下文件生成:
- /github/workspace/src/Vulkan/VKPhysicalDevice.h
 
- /github/workspace/src/Vulkan/VKPhysicalDevice.cpp