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.
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.
Configuration Options
Common settings which control application behavior
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
)