Base structure of a renderer.
More...
#include <Renderer.hpp>
|
std::string | _name |
| Debug name.
|
|
Layout | _colorFormat = Layout::NONE |
| The preferred output format for a given renderer.
|
|
Layout | _depthFormat = Layout::NONE |
| The preferred output format for a given renderer.
|
|
Base structure of a renderer.
Inherited by BVHRenderer, DebugRenderer, DeferredRenderer, EditorRenderer, ForwardRenderer, GameMenuRenderer, GameRenderer, PostProcessStack, and StenciledRenderer.
◆ Renderer() [1/3]
Renderer::Renderer |
( |
const std::string & |
name | ) |
|
Default constructor.
- Parameters
-
name | the debug name of the renderer |
◆ ~Renderer()
virtual Renderer::~Renderer |
( |
| ) |
|
|
virtualdefault |
◆ Renderer() [2/3]
◆ Renderer() [3/3]
◆ draw()
void Renderer::draw |
( |
const Camera & |
camera, |
|
|
Texture * |
dstColor, |
|
|
Texture * |
dstDepth, |
|
|
uint |
layer = 0 |
|
) |
| |
|
virtual |
◆ interface()
void Renderer::interface |
( |
| ) |
|
|
virtual |
◆ operator=() [1/2]
Copy assignment.
- Returns
- a reference to the object assigned to
◆ operator=() [2/2]
Move assignment.
- Returns
- a reference to the object assigned to
◆ outputColorFormat()
Layout Renderer::outputColorFormat |
( |
| ) |
const |
|
inline |
- Returns
- the preferred format for the destination color rendertarget
◆ outputDepthFormat()
Layout Renderer::outputDepthFormat |
( |
| ) |
const |
|
inline |
- Returns
- the preferred format for the destination depth rendertarget
◆ resize()
void Renderer::resize |
( |
uint |
width, |
|
|
uint |
height |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files:
- src/engine/renderers/Renderer.hpp
- src/engine/renderers/Renderer.cpp