RenderPipeline¶
Render pipeline interface.
Overview¶
Typical use cases:
Providing OpenGL-specific implementations for the render pipeline interface
Header¶
<RaeptorCogs/GAPI/GL/Core/Internal/RenderPipeline.hpp>
Metadata¶
- Author
Estorc
- Version
v1.0
- Copyright
Copyright (c) 2025 Estorc MIT License.
Classes¶
Class |
Description |
|---|---|
|
No description. |
-
class RenderPipeline : public RaeptorCogs::GAPI::Common::RenderPipeline¶
Public Functions
-
inline RenderPipeline(Common::RendererBackend &renderer)¶
Default constructor for RenderPipeline.
-
virtual ~RenderPipeline() = default¶
Destructor for RenderPipeline.
-
void renderPass(int x, int y, int width, int height)¶
Render pass for offscreen rendering.
Holds the render pass used for offscreen rendering.
-
void renderMask(Window *window, int x, int y, int width, int height)¶
Render mask to the window.
Note
Renders the mask using ping-pong framebuffers.
- Parameters:
window – Pointer to the window where the mask will be rendered.
x – X coordinate of the render area.
y – Y coordinate of the render area.
width – Width of the render area.
height – Height of the render area.
-
inline RenderPipeline(Common::RendererBackend &renderer)¶