get_shell_env_prefix


Description:

[ CCode ( cname = "xapp_gpu_info_get_shell_env_prefix" ) ]
public string get_shell_env_prefix ()

Creates a new string in a form intended to prefix a shell command, containing the appropriate name/values for this gpu.

For example:

__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1

Parameters:

this

An GpuInfo.

Returns:

A new string, free with g_free.

Since 2.6