Open 3D Engine Atom Gem API Reference 24.09.2
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Vulkan::LoaderContext Class Reference

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.
 
GladVulkanContextGetContext ()
 Returns the GLAD context with the loaded function pointers.
 
const GladVulkanContextGetContext () const
 Returns the constant GLAD context with the loaded function pointers.
 

Static Public Member Functions

static AZStd::unique_ptr< LoaderContextCreate ()
 Creates a new instance of a loader context.
 

Detailed Description

Utility class for loading the Vulkan functions pointer using GLAD.


The documentation for this class was generated from the following file: