C++ SCHX ยท rev 4
CAGE APPLICATION

The editor is a CAGE application.

cage/apps/studio.cage defines the Studio window, rail, code editor, inspector, controls and console. The generic browser Surface knows how to render CGDP nodes, but it does not contain a second React implementation of the Studio UI.

SCHX / FEATURE LAYER

Remote flow

1 ยท connect

The browser opens /__cage/ws through the RC front door.

2 ยท scene

The C++ server sends a CGD1 scene snapshot.

3 ยท input

Pointer, keyboard and editor input return to the server UI session.

4 ยท compile

Run compiles the editor's .cage source to CGB1 bytecode.

5 ยท execute

The resource-caged server VM executes it and updates the CAGE console node.

6 ยท repaint

A new CGDP revision is sent to the Surface.