RenderingDevice.ixx File
Low-level rendering device abstraction (OpenGL/Vulkan/etc.). More...
Included Headers
#include <memory>
#include <helios.rendering.text.TextRenderer>
#include <helios.rendering.LegacyRenderPass>
#include <helios.rendering.RenderQueue>
#include <helios.rendering.Renderable>
#include <helios.util.log>
#include <helios.rendering.text.FontResourceProvider>
#include <helios.math.types>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
Classes Index
| class | RenderingDevice |
|
Abstract interface for a low-level rendering device. More... | |
Macro Definitions Index
| #define | HELIOS_LOG_SCOPE "helios::rendering::RenderingDevice" |
Description
Low-level rendering device abstraction (OpenGL/Vulkan/etc.).
Macro Definitions
HELIOS_LOG_SCOPE
|
Definition at line 20 of file RenderingDevice.ixx.
20#define HELIOS_LOG_SCOPE "helios::rendering::RenderingDevice"
File Listing
The file content with the documentation metadata removed is:
20#define HELIOS_LOG_SCOPE "helios::rendering::RenderingDevice"
21export namespace helios::rendering {
49 class RenderingDevice {
55 bool initialized_ = false;
62 inline static const helios::util::log::Logger& logger_ = helios::util::log::LogManager::loggerForScope(
67 virtual ~RenderingDevice() = default;
92 virtual void beginRenderPass(helios::rendering::LegacyRenderPass& renderPass) const noexcept = 0;
101 * @param renderPass A reference to the LegacyRenderPass that holds the `RenderCommand`s to be executed.
103 virtual void doRender(helios::rendering::LegacyRenderPass& renderPass) const noexcept = 0;
117 virtual void endRenderPass(helios::rendering::LegacyRenderPass& renderPass) const noexcept = 0;
120 * @brief Convenience method to subsequently call `beginRenderPass`, `doRender`, and `endRenderPass` (in this order) with the specified `LegacyRenderPass`.
124 void render(helios::rendering::LegacyRenderPass& renderPass) const {
125 beginRenderPass(renderPass);
126 doRender(renderPass);
127 endRenderPass(renderPass);
139 [[nodiscard]] virtual helios::rendering::text::TextRenderer& textRenderer() const noexcept = 0;
152 [[nodiscard]] virtual helios::rendering::text::FontResourceProvider& fontResourceProvider() const noexcept = 0;
162 [[nodiscard]] bool initialized() const noexcept{
163 return initialized_;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.