Utility class for loading the Vulkan functions pointer using GLAD. More...
#include <LoaderContext.h>
Classes | |
struct | Descriptor |
Parameters for initializing the function loader. More... | |
Public Member Functions | |
bool | Init (const Descriptor &descriptor) |
Loads the function pointer using the instance, device and physical device provided. | |
void | Shutdown () |
Shutdown the glad loader context. | |
AZStd::vector< AZStd::string > | GetInstanceLayerNames () const |
Returns a list of available instance layers. | |
AZStd::vector< AZStd::string > | GetInstanceExtensionNames (const char *layerName=nullptr) const |
Returns a list of available instance extensions. | |
GladVulkanContext & | GetContext () |
Returns the GLAD context with the loaded function pointers. | |
const GladVulkanContext & | GetContext () const |
Returns the constant GLAD context with the loaded function pointers. | |
Static Public Member Functions | |
static AZStd::unique_ptr< LoaderContext > | Create () |
Creates a new instance of a loader context. | |
Utility class for loading the Vulkan functions pointer using GLAD.