CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
NLRenderAPI.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "NLCommon.hpp"
11
13
14namespace CeresEngine {
15
16 class NLDevice;
17
19
42
43} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Null RenderAPI device object.
Definition NLDevice.hpp:32
Definition NLRenderAPI.hpp:20
NLDevicePtr mDevice
The default Null device.
Definition NLRenderAPI.hpp:25
GPUDevicePtr createDevice(const GPUDeviceDescriptor &descriptor, const DevicePickerFunc &pickerFunc=nullptr) final
NLRenderAPI(const RenderAPIDescriptor &descriptor)
GPUDevicePtr getDefaultDevice() final
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 NLRenderAPI.hpp:18
Definition RenderAPI.hpp:61