Domain binds Kanzi subsystems and objects together. More...
#include <kanzi/domain/domain.hpp>
Static Public Member Functions | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
| static Domain * | create (const KzcMemoryManager *memoryManager, KzuPropertyManager *propertyManager, ResourceManager *resourceManager, KzuMessageDispatcher *messageDispatcher, KzuTaskScheduler *taskScheduler, KzuTextRenderer *textRenderer, ObjectFactory *objectFactory) |
| static void | destroy (Domain *domain) |
Static Public Attributes | |
Properties | |
| static PropertyType< bool > | HalfFloatTextureFormatProperty |
| HalfFloatTextureFormat property. More... | |
| static PropertyType< bool > | HalfFloatColorAttachmentProperty |
| HalfFloatColorAttachment property. More... | |
| static PropertyType< bool > | ExternalTextureProperty |
| ExternalTexture property. More... | |
| static PropertyType< string > | ProjectPluginReferencesProperty |
| ProjectPluginReferences property. More... | |
| static PropertyType< string > | StartupScreenProperty |
| StartupScreen property. More... | |
| static PropertyType< bool > | StateToolsEditStateEnabledProperty |
| StateToolsEditStateEnabled property. More... | |
| static PropertyType< ColorRGBA > | PreviewWindowBackgroundColorProperty |
| PreviewWindowBackgroundColor property. More... | |
| static PropertyType< int > | MessageLimitPerFrameProperty |
| MessageLimitPerFrame property. More... | |
Static Protected Member Functions | |
| static kzsError | timelineClockTask (kzUint deltaTime, void *userData, kzBool *out_done) |
Domain binds Kanzi subsystems and objects together.
All objects and subsystems in Kanzi are associated with a domain when created. Objects in the same domain share access to the same subsystems. Objects from different domains cannot be used together.
|
inlinestatic |
|
static |
|
static |
| KzcMemoryManager* kanzi::Domain::getMemoryManager | ( | ) | const |
| KzuPropertyManager* kanzi::Domain::getPropertyManager | ( | ) | const |
| ResourceManager* kanzi::Domain::getResourceManager | ( | ) | const |
| KzuMessageDispatcher* kanzi::Domain::getMessageDispatcher | ( | ) | const |
| KzuTaskScheduler* kanzi::Domain::getTaskScheduler | ( | ) | const |
| KzuTextRenderer* kanzi::Domain::getTextRenderer | ( | ) | const |
| ObjectFactory* kanzi::Domain::getObjectFactory | ( | ) | const |
| TimelineClockSharedPtr kanzi::Domain::getRootTimelineClock | ( | ) | const |
| ScriptingSystemSharedPtr kanzi::Domain::getScriptingSystem | ( | ) | const |
| void kanzi::Domain::setScriptingSystem | ( | ScriptingSystemSharedPtr | scriptingSystem | ) |
| void kanzi::Domain::registerModule | ( | string_view | moduleName, |
| shared_ptr< Module > | module | ||
| ) |
|
inline |
| Module* kanzi::Domain::getModule | ( | string_view | moduleName | ) |
| void kanzi::Domain::loadPlugin | ( | string | moduleName | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprotected |
|
static |
HalfFloatTextureFormat property.
The default value is false.
|
static |
HalfFloatColorAttachment property.
The default value is false.
|
static |
ExternalTexture property.
The default value is false.
|
static |
ProjectPluginReferences property.
The default value is "".
|
static |
StartupScreen property.
The default value is "".
|
static |
StateToolsEditStateEnabled property.
The default value is false.
|
static |
PreviewWindowBackgroundColor property.
The default value is ColorRGBA(0.0f, 0.0f, 0.0f, 0.0f).
|
static |
MessageLimitPerFrame property.
The default value is 1000.