Flutter Engine
The Flutter Engine
|
#include <VulkanExtensions.h>
Classes | |
struct | Info |
Public Member Functions | |
VulkanExtensions () | |
void | init (VulkanGetProc, VkInstance, VkPhysicalDevice, uint32_t instanceExtensionCount, const char *const *instanceExtensions, uint32_t deviceExtensionCount, const char *const *deviceExtensions) |
bool | hasExtension (const char[], uint32_t minVersion) const |
Helper class that eats in an array of extensions strings for instance and device and allows for quicker querying if an extension is present.
Definition at line 27 of file VulkanExtensions.h.
|
inline |
Definition at line 29 of file VulkanExtensions.h.
bool skgpu::VulkanExtensions::hasExtension | ( | const char | ext[], |
uint32_t | minVersion | ||
) | const |
Definition at line 130 of file VulkanExtensions.cpp.
void skgpu::VulkanExtensions::init | ( | VulkanGetProc | getProc, |
VkInstance | instance, | ||
VkPhysicalDevice | physDev, | ||
uint32_t | instanceExtensionCount, | ||
const char *const * | instanceExtensions, | ||
uint32_t | deviceExtensionCount, | ||
const char *const * | deviceExtensions | ||
) |
Definition at line 39 of file VulkanExtensions.cpp.