|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Abstract interface representing a headless offscreen 3D rendering backend. More...
#include <IRenderEngine.hpp>

Public Member Functions | |
| virtual | ~IRenderEngine ()=default |
| virtual bool | initialize (const ViewportDimensions &dimensions)=0 |
| Initializes the rendering engine and framebuffer with dimensions. | |
| virtual void | resize (const ViewportDimensions &dimensions)=0 |
| Resizes the underlying framebuffer. | |
| virtual void | setScene (std::shared_ptr< const Scene3D > scene)=0 |
| Assigns the active molecular scene to render. | |
| virtual void | setCamera (const Camera3D &camera)=0 |
| Updates camera parameters for viewpoint transformation. | |
| virtual void | setFeatureVisibility (bool, bool) |
| Sets visibility flags for optional features (bonds, wireframe). | |
| virtual void | setGpuHaloConfig (const GpuHaloConfig &) |
| Configures GPU-driven halo and phase search computation. | |
| virtual void | setRenderStyle (const RenderStyleConfig &) |
| Configures visual shading parameters (depth cueing, background color). | |
| virtual std::span< const uint8_t > | renderFrame ()=0 |
| Executes a single frame render and returns RGBA8 pixel span. | |
| virtual ViewportDimensions | dimensions () const noexcept=0 |
| Current viewport pixel dimensions. | |
| virtual std::string_view | backendName () const noexcept=0 |
| Human-readable name of the backend. | |
| virtual std::string | deviceName () const |
| Human-readable name of the active rendering device (e.g. GPU model or CPU). | |
| virtual bool | isHardwareAccelerated () const noexcept=0 |
| Indicates if the engine uses hardware GPU acceleration. | |
Abstract interface representing a headless offscreen 3D rendering backend.
|
virtualdefault |
|
nodiscardpure virtualnoexcept |
Human-readable name of the backend.
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.


|
inlinenodiscardvirtual |
Human-readable name of the active rendering device (e.g. GPU model or CPU).
Reimplemented in correlation::render3d::VulkanRenderEngine.


|
nodiscardpure virtualnoexcept |
Current viewport pixel dimensions.
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.

|
nodiscardpure virtual |
Initializes the rendering engine and framebuffer with dimensions.
| dimensions | Initial viewport dimensions. |
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.

|
nodiscardpure virtualnoexcept |
Indicates if the engine uses hardware GPU acceleration.
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.
|
nodiscardpure virtual |
Executes a single frame render and returns RGBA8 pixel span.
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.
|
pure virtual |
Resizes the underlying framebuffer.
| dimensions | New viewport dimensions. |
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.

|
pure virtual |
Updates camera parameters for viewpoint transformation.
| camera | 3D orbit camera. |
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.
|
inlinevirtual |
Sets visibility flags for optional features (bonds, wireframe).
| render_bonds | True to render covalent bonds. |
| render_wireframe | True to render unit cell wireframe lines. |
Reimplemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.
|
inlinevirtual |
Configures GPU-driven halo and phase search computation.
| config | Halo configuration descriptor and threshold state. |
Reimplemented in correlation::render3d::VulkanRenderEngine.
|
inlinevirtual |
Configures visual shading parameters (depth cueing, background color).
| style | Visual style configuration. |
Reimplemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.
|
pure virtual |
Assigns the active molecular scene to render.
| scene | Shared pointer to scene geometry. |
Implemented in correlation::render3d::CpuRenderEngine, and correlation::render3d::VulkanRenderEngine.