37#ifndef BRAINRENDERER_H
38#define BRAINRENDERER_H
57class QRhiCommandBuffer;
58class QRhiRenderTarget;
59class QRhiRenderPassDescriptor;
60class QRhiResourceUpdateBatch;
126 void initialize(QRhi *rhi, QRhiRenderPassDescriptor *rp,
int sampleCount);
135 void beginFrame(QRhiCommandBuffer *cb, QRhiRenderTarget *rt);
186 void endFrame(QRhiCommandBuffer *cb);
191 std::unique_ptr<Impl> d;
disp3D_rhi library export/import macros.
#define DISP3DRHISHARED_EXPORT
Lightweight render-related enums shared across the disp3D_rhi library.
Renderable cortical surface mesh with per-vertex color, curvature data, and GPU buffer management.
Renderable dipole arrow set with instanced GPU rendering for QRhi.
Renderable network visualization for QRhi.
static constexpr ShaderMode Anatomical
static constexpr ShaderMode Holographic
void renderNetwork(QRhiCommandBuffer *cb, QRhi *rhi, const SceneData &data, NetworkObject *network)
static constexpr ShaderMode ShowNormals
void renderSurface(QRhiCommandBuffer *cb, QRhi *rhi, const SceneData &data, BrainSurface *surface, ShaderMode mode)
void beginFrame(QRhiCommandBuffer *cb, QRhiRenderTarget *rt)
void endFrame(QRhiCommandBuffer *cb)
void updateSceneUniforms(QRhi *rhi, const SceneData &data)
static constexpr ShaderMode Dipole
void initialize(QRhi *rhi, QRhiRenderPassDescriptor *rp, int sampleCount)
static constexpr ShaderMode Standard
void renderDipoles(QRhiCommandBuffer *cb, QRhi *rhi, const SceneData &data, DipoleObject *dipoles)
static constexpr ShaderMode XRay
Aggregated GPU resources and render state for the 3-D brain visualization scene.