Rendering internals

Redot's renderer keeps a representation of the scene, chooses visible work, produces GPU commands, and presents images. Those jobs span scene resources, servers, renderer implementations, device drivers, and platform code. A change to one layer can affect resource lifetimes or execution order in another.

This manual describes those connections for maintainers who know C++ but have not worked on the renderer. The source baseline records the engine revision and review date once for the whole manual. GDExtension and redot-cpp are outside its scope.

Start here

  1. Read the architecture and vocabulary.
  2. Follow startup, a frame, and the threading model.
  3. Follow a 2D draw or a 3D instance.
  4. Compare the rendering methods before entering a backend implementation.

Follow the resources

Follow execution

Assess a change

The dependency map, external consumers, and wrapper chains identify contracts to preserve. Change routes show where a feature must travel.

Boundary observations, unfinished paths, and performance proposals distinguish existing behavior from suggested work. Proposals are investigation candidates, not approved designs or measured speedups.

Locate and update source

The source reference indexes every primary rendering header, its declarations, and its companion implementation. It also contains source locators, external reference searches, and a catalog of source markers.

The build map explains conditional and generated code. The maintenance procedure describes quarterly refreshes and the review needed after regeneration.

Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.