Environment Variables

There are a number of environment variables that change the runtime behavior of the ImFusionLib.

Name

Default

Description

IMFUSION_GL_BACKEND

glx

Determines the interface that is used to create an OpenGL context. Supported values are ‘glx’ and ‘egl’.

IMFUSION_USE_OPENGL_COMPATIBILITY

<empty>

If set, a an OpenGL context with the compatibility profile is created. Otherwise core profile is used.

IMFUSION_USE_OPENGL_DEBUG_CONTEXT

<empty>

If set, a debug OpenGL context is created (see KHR_debug extenion).