Support Forum G3D Web Page |
Classes | |
class | HDRFramebufferSettings |
class | RendererSettings |
These are not necessarily followed if not using the DefaultRenderer. More... | |
class | ScreenCaptureSettings |
class | VR |
Public Member Functions | |
Settings () | |
Also invokes initGLG3D() More... | |
Settings (int argc, const char *argv[]) | |
Also invokes initGLG3D() More... | |
virtual | ~Settings () |
Public Attributes | |
Array< String > | argArray |
Arguments to the program, from argv. More... | |
String | dataDir |
If "<AUTO>", will be set to the directory in which the executable resides. More... | |
std::vector< String > | dataDirs |
Empty by default. More... | |
String | debugFontName |
Can be relative to the G3D data directory (e.g. More... | |
String | developerToolsFontName |
String | developerToolsThemeName |
HDRFramebufferSettings | hdrFramebuffer |
String | logFilename |
class G3D::GApp::Settings::RendererSettings | renderer |
ScreenCaptureSettings | screenCapture |
bool | useDeveloperTools |
If true, the G3D::DeveleloperWindow and G3D::CameraControlWindow will be enabled and accessible by pushing F12. More... | |
class G3D::GApp::Settings::VR | vr |
OSWindow::Settings | window |
bool | writeLicenseFile |
When true, GAapp ensures that g3d-license.txt exists in the current directory. More... | |
G3D::GApp::Settings::Settings | ( | ) |
Also invokes initGLG3D()
G3D::GApp::Settings::Settings | ( | int | argc, |
const char * | argv[] | ||
) |
Also invokes initGLG3D()
|
inlinevirtual |
Arguments to the program, from argv.
The first is the name of the program.
String G3D::GApp::Settings::dataDir |
If "<AUTO>", will be set to the directory in which the executable resides.
This is used to invoke System::setDataDir()
std::vector<String> G3D::GApp::Settings::dataDirs |
Empty by default.
Used to specify additional data directories for projects that have multiple.
String G3D::GApp::Settings::debugFontName |
Can be relative to the G3D data directory (e.g.
"font/dominant.fnt") or relative to the current directory. Default is "console-small.fnt"
String G3D::GApp::Settings::developerToolsFontName |
String G3D::GApp::Settings::developerToolsThemeName |
HDRFramebufferSettings G3D::GApp::Settings::hdrFramebuffer |
String G3D::GApp::Settings::logFilename |
class G3D::GApp::Settings::RendererSettings G3D::GApp::Settings::renderer |
ScreenCaptureSettings G3D::GApp::Settings::screenCapture |
bool G3D::GApp::Settings::useDeveloperTools |
If true, the G3D::DeveleloperWindow and G3D::CameraControlWindow will be enabled and accessible by pushing F12.
These require osx.gtm, arial.fnt, greek.fnt, and icon.fnt to be in locations where System::findDataFile can locate them (the program working directory is one such location).
class G3D::GApp::Settings::VR G3D::GApp::Settings::vr |
OSWindow::Settings G3D::GApp::Settings::window |
bool G3D::GApp::Settings::writeLicenseFile |
When true, GAapp ensures that g3d-license.txt exists in the current directory.
That file is written from the return value of G3D::license()