get.fsbrain.renderer.backend: Get the current fsbrain renderer backend

View source: R/scimesh_bridge.R

get.fsbrain.renderer.backendR Documentation

Get the current fsbrain renderer backend

Description

Returns the current fsbrain renderer backend setting. When set to "scimesh", fsbrain will use the scimesh software renderer instead of rgl/OpenGL for image export. The default is "rgl". Set it with options(fsbrain.renderer_backend = "scimesh") at the start of your R session.

Usage

get.fsbrain.renderer.backend()

Value

character string, either "rgl" or "scimesh".

Note

Only functions that produce static PNG output are affected. Interactive viewers, animations, and the rglwidget (WebGL) always use rgl.

Examples

## Not run: 
  # Switch to the scimesh software renderer for headless environments
  options(fsbrain.renderer_backend = "scimesh")

  # Check current backend
  get.fsbrain.renderer.backend()

  # Switch back to rgl
  options(fsbrain.renderer_backend = "rgl")

## End(Not run)


fsbrain documentation built on Aug. 23, 2026, 5:06 p.m.