Configurable application properties. More...
#include <kanzi/application/application.hpp>
Public Member Functions | |
ApplicationProperties () | |
Constructor. More... | |
Public Attributes | |
KzsWindowProperties | defaultWindowProperties |
Default configuration for windows of the application framework. More... | |
KzsSurfaceProperties | defaultSurfaceProperties |
Default properties for the surfaces of the windows. More... | |
EventSourceProperties | defaultEventSourceProperties |
Default properties for the event sources. More... | |
string | binaryName |
Path to either the binary config file listing all .kzb files that are loaded to project, or a path to a single .kzb file. More... | |
vector< string > | moduleNames |
List of modules to load. More... | |
KzuPreviewProperties | previewProperties |
Default properties for the preview system. More... | |
KzuFPSConstraints | fpsConstraints |
Timer controller for application. More... | |
unsigned int | loadingThreadCount |
The number of background threads that are used to load resources. More... | |
unsigned int | maxPendingResources |
The maximum number of resources that can be processed by the loading threads at the same time. More... | |
string | configurationName |
Path to the configuration file. The default is "application.cfg". More... | |
kzBool | useMemoryMappedLoading |
Use memory mapping when loading KZB files. The default value is KZ_FALSE. More... | |
unsigned int | glyphCacheWidth |
Width of the textures created for glyph caches. More... | |
unsigned int | glyphCacheHeight |
Height of the textures created for glyph caches. More... | |
bool | nativePixmapsEnabled |
Configurable application properties.
|
inlineexplicit |
Constructor.
KzsWindowProperties kanzi::ApplicationProperties::defaultWindowProperties |
Default configuration for windows of the application framework.
KzsSurfaceProperties kanzi::ApplicationProperties::defaultSurfaceProperties |
Default properties for the surfaces of the windows.
EventSourceProperties kanzi::ApplicationProperties::defaultEventSourceProperties |
Default properties for the event sources.
string kanzi::ApplicationProperties::binaryName |
Path to either the binary config file listing all .kzb files that are loaded to project, or a path to a single .kzb file.
vector<string> kanzi::ApplicationProperties::moduleNames |
List of modules to load.
KzuPreviewProperties kanzi::ApplicationProperties::previewProperties |
Default properties for the preview system.
KzuFPSConstraints kanzi::ApplicationProperties::fpsConstraints |
Timer controller for application.
unsigned int kanzi::ApplicationProperties::loadingThreadCount |
The number of background threads that are used to load resources.
By default set to min(number of cores - 1, 3). Set to 0 to disable multithreaded loading and load everything in the main thread.
unsigned int kanzi::ApplicationProperties::maxPendingResources |
The maximum number of resources that can be processed by the loading threads at the same time.
The higher number can make the loading faster, but increases the peak memory usage during loading as more resources can be loaded to the memory before they are deployed to the GPU. If set to 0 (which is the default value), the value is set to the number of threads + 1.
string kanzi::ApplicationProperties::configurationName |
Path to the configuration file. The default is "application.cfg".
kzBool kanzi::ApplicationProperties::useMemoryMappedLoading |
Use memory mapping when loading KZB files. The default value is KZ_FALSE.
unsigned int kanzi::ApplicationProperties::glyphCacheWidth |
Width of the textures created for glyph caches.
unsigned int kanzi::ApplicationProperties::glyphCacheHeight |
Height of the textures created for glyph caches.
bool kanzi::ApplicationProperties::nativePixmapsEnabled |