Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.88 KB

EditorUI.md

File metadata and controls

70 lines (45 loc) · 1.88 KB

Content:

Editor UI

Scripts tab

Draws a file tree for the folder that is specified in the config:

cfg.ScriptDir( "folder" );

On click, the script will be compiled and will start rendering when it is ready. Resources will be loaded asynchronously.

Editor tab

Debugger

Allows to run shader debugger for the pixel under cursor.

Select graphics/compute pass:

Select debugging mode:

Select shader stage:

When the shader debugger is set up, you can press G to record the shader trace.

Capture

Press I key to save screenshot with specified format.

Press U to begin/end video recording.
Hardware acceleration will be used automatically if it is supported.

Sliders

All sliders for all passes that are defined in the current script will be added here.

Statistics

Draw some statistics:

  • Cursor position.
  • Screen color under the cursor.

Graphics tab

Surface scale - allows to change surface size, to regulate the workload on the fragment shader.
Linear filter - enable linear filter when blit the image to the surface, this will add a slight blur effect.

Surface format - allows to change window surface format, RGBA16F - enables HDR output.

Present mode - allows to change present mode. FIFO - enable vertical synchronization.

Profiler windows

See Engine Profiling docs.