Support Forum       G3D Web Page     
Classes | Public Member Functions | Public Attributes | List of all members
G3D::GApp::Settings Class Reference

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< StringargArray
 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< StringdataDirs
 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...
 

Constructor & Destructor Documentation

◆ Settings() [1/2]

G3D::GApp::Settings::Settings ( )

Also invokes initGLG3D()

◆ Settings() [2/2]

G3D::GApp::Settings::Settings ( int  argc,
const char *  argv[] 
)

Also invokes initGLG3D()

◆ ~Settings()

virtual G3D::GApp::Settings::~Settings ( )
inlinevirtual

Member Data Documentation

◆ argArray

Array<String> G3D::GApp::Settings::argArray

Arguments to the program, from argv.

The first is the name of the program.

◆ dataDir

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()

◆ dataDirs

std::vector<String> G3D::GApp::Settings::dataDirs

Empty by default.

Used to specify additional data directories for projects that have multiple.

◆ debugFontName

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"

◆ developerToolsFontName

String G3D::GApp::Settings::developerToolsFontName

◆ developerToolsThemeName

String G3D::GApp::Settings::developerToolsThemeName

◆ hdrFramebuffer

HDRFramebufferSettings G3D::GApp::Settings::hdrFramebuffer

◆ logFilename

String G3D::GApp::Settings::logFilename

◆ renderer

class G3D::GApp::Settings::RendererSettings G3D::GApp::Settings::renderer

◆ screenCapture

ScreenCaptureSettings G3D::GApp::Settings::screenCapture

◆ useDeveloperTools

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).

◆ vr

class G3D::GApp::Settings::VR G3D::GApp::Settings::vr

◆ window

OSWindow::Settings G3D::GApp::Settings::window

◆ writeLicenseFile

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()


documentation generated on Wed Nov 24 2021 08:01:56 using doxygen 1.8.15