|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/RenderAPI.hpp>
Public Member Functions | |
| RenderAPI ()=default | |
| Default initializer. | |
| virtual | ~RenderAPI ()=default |
| Destroys the renderer object. | |
| RenderAPI (const RenderAPI &)=delete | |
| Deleted copy constructor. | |
| RenderAPI & | operator= (const RenderAPI &)=delete |
| RenderAPI (RenderAPI &&)=delete | |
| Deleted move constructor. | |
| RenderAPI & | operator= (RenderAPI &&)=delete |
| virtual GPUDevicePtr | createDevice (const GPUDeviceDescriptor &descriptor, const DevicePickerFunc &pickerFunc=nullptr)=0 |
Creates a new Device object. | |
| virtual GPUDevicePtr | getDefaultDevice ()=0 |
| virtual void | update ()=0 |
| An update method that must be called on the beginning of very frame to finish command buffers in execution. | |
|
default |
Default initializer.
|
virtualdefault |
Destroys the renderer object.
|
delete |
Deleted move constructor.
|
pure virtual |
Creates a new Device object.
| descriptor | A structure that describes the object to be created |
| pickerFunc | A functor that picks a device based on its info and capabilities. |
Device object. Implemented in CeresEngine::MTRenderAPI, CeresEngine::MKRenderAPI, CeresEngine::NLRenderAPI, CeresEngine::GLRenderAPI, CeresEngine::VKRenderAPI, and CeresEngine::WGRenderAPI.
|
pure virtual |
Implemented in CeresEngine::MTRenderAPI, CeresEngine::MKRenderAPI, CeresEngine::NLRenderAPI, CeresEngine::GLRenderAPI, CeresEngine::VKRenderAPI, and CeresEngine::WGRenderAPI.
An update method that must be called on the beginning of very frame to finish command buffers in execution.
Implemented in CeresEngine::MTRenderAPI, CeresEngine::MKRenderAPI, CeresEngine::NLRenderAPI, CeresEngine::GLRenderAPI, CeresEngine::VKRenderAPI, and CeresEngine::WGRenderAPI.