Lugdunum
0.1.0
|
#include <Renderer.hpp>
Classes | |
struct | InitInfo |
Public Types | |
enum | Type : uint8_t { Type::Vulkan } |
enum | DisplayMode : uint8_t { DisplayMode::Full, DisplayMode::Albedo, DisplayMode::Normal, DisplayMode::Metallic, DisplayMode::Roughness, DisplayMode::AmbientOcclusion, DisplayMode::AmbientOcclusionRoughnessMetallic, DisplayMode::Emissive } |
Public Member Functions | |
Renderer (Graphics &graphics, Type type) | |
Renderer (const Renderer &)=delete | |
Renderer (Renderer &&)=delete | |
Renderer & | operator= (const Renderer &)=delete |
Renderer & | operator= (Renderer &&)=delete |
virtual | ~Renderer ()=default |
virtual bool | beginInit (const std::string &appName, const Core::Version &appVersion, const InitInfo &initInfo)=0 |
virtual bool | finishInit ()=0 |
virtual bool | beginFrame (const lug::System::Time &elapsedTime)=0 |
virtual bool | endFrame ()=0 |
virtual Render::Window * | createWindow (Render::Window::InitInfo &initInfo)=0 |
virtual Render::Window * | getWindow ()=0 |
const InitInfo & | getInfo () const |
Type | getType () const |
const DisplayMode & | getDisplayMode () const |
void | setDisplayMode (DisplayMode displayMode) |
ResourceManager * | getResourceManager () const |
Protected Attributes | |
Graphics & | _graphics |
Type | _type |
DisplayMode | _displayMode |
InitInfo | _initInfo |
std::unique_ptr< ResourceManager > | _resourceManager {nullptr} |
Definition at line 18 of file Renderer.hpp.
|
strong |
Enumerator | |
---|---|
Vulkan |
Definition at line 20 of file Renderer.hpp.
|
strong |
Enumerator | |
---|---|
Full | |
Albedo | |
Normal | |
Metallic | |
Roughness | |
AmbientOcclusion | |
AmbientOcclusionRoughnessMetallic | |
Emissive |
Definition at line 24 of file Renderer.hpp.
lug::Graphics::Renderer::Renderer | ( | Graphics & | graphics, |
Renderer::Type | type | ||
) |
Definition at line 6 of file Renderer.cpp.
|
delete |
|
delete |
|
virtualdefault |
Reimplemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
pure virtual |
Implemented in lug::Graphics::Vulkan::Renderer.
|
inline |
Definition at line 1 of file Renderer.inl.
|
inline |
Definition at line 5 of file Renderer.inl.
|
inline |
Definition at line 13 of file Renderer.inl.
|
inline |
Definition at line 17 of file Renderer.inl.
|
inline |
Definition at line 9 of file Renderer.inl.
|
protected |
Definition at line 70 of file Renderer.hpp.
|
protected |
Definition at line 71 of file Renderer.hpp.
|
protected |
Definition at line 72 of file Renderer.hpp.
|
protected |
Definition at line 73 of file Renderer.hpp.
|
protected |
Definition at line 74 of file Renderer.hpp.