A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Metal RenderAPI device object.
Definition MTDevice.hpp:32
Definition MTRenderAPI.hpp:20
MTRenderAPI(const RenderAPIDescriptor &descriptor)
GPUDevicePtr getDefaultDevice() final
GPUDevicePtr createDevice(const GPUDeviceDescriptor &descriptor, const DevicePickerFunc &pickerFunc=nullptr) final
MTDevicePtr mDevice
The default Metal device.
Definition MTRenderAPI.hpp:25
Definition RenderAPI.hpp:81
Definition Application.hpp:19
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
Device descriptor structure.
Definition GPUDevice.hpp:313
Definition MTRenderAPI.hpp:18
Definition RenderAPI.hpp:61