Skip to main content
Version: Next

Content Capabilities

This page is not a tutorial — it is an acceptance page: every block below corresponds to a rendering feature that is actually wired up. Copy the structure when writing; no configuration change is needed.

Admonitions​

Purpose

Use admonitions to qualify a conclusion ("follow the source of your current version"), not to carry the main line of an argument.

Do not stack them

Two admonitions back to back break reading rhythm; use a list when you need parallel points.

Code blocks: line highlighting and line numbers​

void FSceneRenderer::PrepareView()
{
// Highlighted lines point at the lines to watch, not the whole block
for (FViewInfo& View : Views)
{
View.ViewFrustum = BuildFrustum(View);
View.PrimitiveVisibilityMap.Reset();
}
VisibilityFlags.SetNumZeroed(Primitives.Num());
ParallelFor(Primitives.Num(), [&](int32 Index) {
VisibilityFlags[Index] = TestFrustum(Primitives[Index]) ? 1 : 0;
});
}

Tabs: two views of the same thing​

Visibility is decided on the render thread and written into per-view flag arrays. This stage only decides; it produces no draw commands.

Mermaid: flowcharts​

KaTeX: formulas​

Inline math carries a criterion, for example "the point is inside the frustum" as n⋅p+d>0\mathbf{n}\cdot\mathbf{p} + d > 0; display math carries a derivation:

visible(p)=⋀i=16(ni⋅p+di≥0)\text{visible}(p) = \bigwedge_{i=1}^{6}\left(\mathbf{n}_i \cdot \mathbf{p} + d_i \ge 0\right)

Like code blocks, formulas support a conclusion; they never replace the explanation.

Wide tables​

Horizontal scrolling is handled by the stylesheet, so a wide table never pushes a horizontal scrollbar onto the whole page:

StageInputOutputThreadTypical cost driverParallelisableDebug entry point
View preparationFSceneView / FViewInfoFrustum planes, culling matrices, occlusion historyRenderView count and occlusion readbackNo (depends on earlier results)FSceneRenderer::PrepareView
Frustum cullingPrimitive set + boundsPass / reject bit flagsRenderPrimitive count × bounds test costYes (slice by index range)VisibilityFlags slots
Relevance computationPrimitives that survivedPer-view visibility flags, static mesh batchesRenderMaterial and LOD relevance testsYes (local buffers + merge)ComputeRelevance
Command generationVisible setFMeshDrawCommandRender → RHIDraw-state sorting and cache hitsPartiallyMeshPassProcessor