Support Forum G3D Web Page |
Options for initG3D and initGLG3D. More...
Public Member Functions | |
G3DSpecification () | |
virtual | ~G3DSpecification () |
Public Attributes | |
bool | audio = false |
Should AudioDevice be enabled? (It will still be initialized regardless of enabling.) Default: false. More... | |
unsigned int | audioBufferLength = 1024 |
Audio DSP buffer length to use. More... | |
int | audioNumBuffers = 4 |
Number of audio DSP buffers to use. More... | |
float | defaultGuiPixelScale = -1.0f |
Scale used by G3D::GuiWindow::pixelScale. More... | |
bool | deployMode = false |
Set parameters for deployment of a standalone application. More... | |
const char * | logFilename = "log.txt" |
Name that Log::common() and logPrintf() use. More... | |
bool | threadedNetworking = true |
Should G3D spawn its own network thread? More... | |
Options for initG3D and initGLG3D.
|
inline |
|
inlinevirtual |
bool G3D::G3DSpecification::audio = false |
Should AudioDevice be enabled? (It will still be initialized regardless of enabling.) Default: false.
unsigned int G3D::G3DSpecification::audioBufferLength = 1024 |
Audio DSP buffer length to use.
Affects audio latency. Default: 1024. FMOD claims that the default results in 21.33 ms of latency at 48 khz (1024 / 48000 * 1000 = 21.33).
int G3D::G3DSpecification::audioNumBuffers = 4 |
Number of audio DSP buffers to use.
Default: 4.
float G3D::G3DSpecification::defaultGuiPixelScale = -1.0f |
Scale used by G3D::GuiWindow::pixelScale.
If -1, the scale automatically is chosen by the GuiWindow based on the primary display resolution. 4k = 2x, 8k = 4x
bool G3D::G3DSpecification::deployMode = false |
Set parameters for deployment of a standalone application.
If true, disable System::findDataFile's ability to look in the directory specified by the G3D10DATA environment variable.
const char* G3D::G3DSpecification::logFilename = "log.txt" |
Name that Log::common() and logPrintf() use.
bool G3D::G3DSpecification::threadedNetworking = true |
Should G3D spawn its own network thread?
If true, G3D will spawn a thread for network management on the first invocation of G3D::NetServer::create or G3D::NetConnection::connectToServer.
If false and networking is used, the application must explicitly invoke G3D::serviceNetwork() regularly to allow the network code to run.
In either case, the network API is threadsafe.
Default: true.