struct Caps

Defined at line 48 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.h

Device capabilities.

Public Members

uint32_t max_image_width
uint32_t max_image_height
set depth_stencil_formats
set msaa_sample_counts
set extensions
uint32_t device_api_version
bool allow_protected_memory
bool allow_ycbcr
bool is_virtual_gpu
PhysicalDeviceFeatures enabled_features

Public Methods

vk::ResultValue<vk::Format> GetMatchingDepthStencilFormat (const std::vector<vk::Format> & formats)

This function returns vk::eSuccess and the format if there is a matching

depth-stencil format; otherwise it returns vk::eErrorFeatureNotPresent.

Defined at line 43 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.cc

vk::ResultValue<size_t> GetMatchingSampleCount (const std::vector<size_t> & counts)

Defined at line 53 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.cc

std::set<vk::Format> GetAllMatchingDepthStencilFormats (const std::set<vk::Format> & formats)

Defined at line 63 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.cc

vk::ResultValue<vk::Format> GetMatchingDepthStencilFormat ()

Defined at line 68 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.h

std::set<size_t> GetAllMatchingSampleCounts (const std::set<size_t> & counts)

Defined at line 71 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.cc

void Caps (vk::PhysicalDevice device)

Defined at line 18 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.cc

vk::ResultValue<vk::Format> GetMatchingDepthFormat ()

Defined at line 73 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.h

void Caps ()

Defined at line 82 of file ../../src/ui/lib/escher/vk/vulkan_device_queues.h