A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GLDevice.hpp:29
Definition GLRenderAPI.hpp:25
GPUDevicePtr getDefaultDevice() final
GLRenderAPI(const RenderAPIDescriptor &descriptor, std::function< void()> present)
std::function< void()> present
Definition GLRenderAPI.hpp:32
GLDevicePtr mDevice
The default OpenGL device.
Definition GLRenderAPI.hpp:30
GPUDevicePtr createDevice(const GPUDeviceDescriptor &descriptor, const DevicePickerFunc &pickerFunc=nullptr) final
Definition RenderAPI.hpp:81
Definition Application.hpp:19
void *(*)(const char *name) GLLoaderFunc
Definition GLRenderAPI.hpp:18
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
std::function< bool(const GPUDeviceInfo &, const GPURenderingCapabilities &)> DevicePickerFunc
Callback interface for the createDevice method.
Definition RenderAPI.hpp:79
Definition GLRenderAPI.hpp:20
GLLoaderFunc loaderFunc
A function that loads OpenGL functions from the driver.
Definition GLRenderAPI.hpp:22
Device descriptor structure.
Definition GPUDevice.hpp:313
Definition RenderAPI.hpp:61