Documentation

Everything you need to create a game with FRAG

Documentation is still very much a work in progress. Please understand there may be rapid changes to this section of the website.

Documentation Progress: 5%

Configuration Options

Common settings which control application behavior


Every application built with FRAG, is expected to provide a minimal set of configuration options when initializing the framework.

A Configuration object should be instantiated, and filled out with values which make sense for your application.


Config(
  rootWindowTitle: “Your Application Name”,
  rootWindowPosX: window.posUndefined, rootWindowPosY: window.posUndefined,
  rootWindowWidth: 800, rootWindowHeight: 600,
  resetFlags: ResetFlag.VSync,
  logFileName: “your_application.log”,
  assetRoot: “../assets”,
  debugMode: BGFX_DEBUG_NONE,
  imgui: true,
  imguiViewId: 2
)