Use the workspaceΒΆ

The workspace shows open Slang documents. Selecting a tab focuses that document for editing and inspection; it does not silently rebind a viewport.

Focused Workbench workspace editor showing open document tabs

To work with a document:

  1. Use the arrow beside Open document to choose where the file should go: document-only, Render Toy Scene, Render Toy Post, or Shader Toy. Plain Open document never silently binds a viewport.

  2. Edit Source, Generated, or Compare view.

  3. Click a viewport to focus the document bound to that consumer.

  4. Read the status binding summary before changing a tool binding.

See Documents and bindings for the open/focused/bound model.

Workbench reads and compiles a selected file with its containing directory as the project search path before binding it to a tool slot. Slang therefore resolves sibling imports before Workbench validates the compiled entry points. A failed compile leaves the document open for diagnostics but does not replace a working tool binding.