BGFX Post-Processing Options


bgfx_path
Description This option sets the path to the folder with the BGFX files in it.
Full Command -bgfx_path <path>
Alt. Command none
Reverse Command none
Example mame64 pacman -video bgfx -bgfx_path bgfx
Mame.ini Command bgfx_path
Command Default bgfx
Argument Format <path>

bgfx_backend
Description This option sets the screen rendering system used by the BGFX renderer. These are the options...
  • d3d9 - Direct3D 9.0 Renderer (Requires Windows XP or higher)
  • d3d11– Direct3D 11.0 Renderer (Requires Windows Vista with D3D11 update or Windows 7 or higher)
  • opengl– OpenGL Renderer (Requires OpenGL drivers, may work better on some poorly designed video cards, supported on Linux/Mac OS X)
  • metal– Metal Apple Graphics API (Requires OS X 10.11 El Capitan or newer)
Full Command -bgfx_backend <custom>
Alt. Command none
Reverse Command none
Example mame64 pacman -video bgfx -bgfx_backend opengl
Mame.ini Command bgfx_backend
Command Default auto
Argument Format <custom>

bgfx_debug
Description This option turns on the debugging system for the BGFX renderer. This is only really used if you are developing shaders.
Full Command -bgfx_debug
Alt. Command none
Reverse Command none
Example mame64 pacman -video bgfx -bgfx_debug
Mame.ini Command bgfx_debug
Command Default 0
Argument Format none

bgfx_screen_chains
Description This option lets you set the effects used on the systems screens. These effects can be applied to each screen or each window which is useful on multi-screen systems. To separate multiple window effects you use a comma (,) and for screens you use a colon (:)
Full Command -bgfx_screen_chains <custom>
-bgfx_screen_chains <custom>,<custom>
-bgfx_screen_chains <custom>:<custom>
Alt. Command none
Reverse Command none
Example mame64 darius -window -video bgfx -bgfx_screen_chains hlsl,hlsl,hlsl
Mame.ini Command bgfx_screen_chains
Command Default default
Argument Format <custom>,<custom>,...
<custom>:<custom>:...

bgfx_shadow_mask
Description This option lets you set a png based image which will be mapped over the BGFX rendered screen.
Full Command -bgfx_shadow_mask <file>
Alt. Command none
Reverse Command none
Example mame64 pacman -video bgfx -bgfx_shadow_mask slot-mask.png
Mame.ini Command bgfx_shadow_mask
Command Default slot-mask.png
Argument Format <file>

bgfx_avi_name
Description This option lets you set the name of an avi file which will capture the BGFX output.
Full Command -bgfx_avi_name <file>
Alt. Command none
Reverse Command none
Example mame64 pacman -video bgfx -bgfx_avi_name
Mame.ini Command bgfx_avi_name
Command Default auto
Argument Format <file>