VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::AppOptions Struct Reference

#include <framework/appOptions.h>

Public Types

using ComponentSystemCreator = std::function<std::unique_ptr<IComponentSystem>(Engine*)>

Public Member Functions

template<class ComponentSystem>
void registerComponentSystem ()

Public Attributes

std::shared_ptr< BatchManagerbatchManager
std::vector< ComponentSystemCreatorcomponentSystems
std::shared_ptr< ElementInputelementInput
std::shared_ptr< GamePadsgamepads
std::shared_ptr< GraphicsDevicegraphicsDevice
std::shared_ptr< Keyboardkeyboard
std::shared_ptr< Lightmapperlightmapper
std::shared_ptr< Mousemouse
std::string scriptPrefix
std::vector< std::string > scriptsOrder
std::shared_ptr< TouchDevicetouch
std::shared_ptr< XrManagerxr

Detailed Description

Definition at line 29 of file appOptions.h.

Member Typedef Documentation

◆ ComponentSystemCreator

Definition at line 31 of file appOptions.h.

Member Function Documentation

◆ registerComponentSystem()

template<class ComponentSystem>
void visutwin::canvas::AppOptions::registerComponentSystem ( )
inline

Definition at line 34 of file appOptions.h.

References componentSystems.

Member Data Documentation

◆ batchManager

std::shared_ptr<BatchManager> visutwin::canvas::AppOptions::batchManager

Definition at line 50 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ componentSystems

std::vector<ComponentSystemCreator> visutwin::canvas::AppOptions::componentSystems

Definition at line 41 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init(), and registerComponentSystem().

◆ elementInput

std::shared_ptr<ElementInput> visutwin::canvas::AppOptions::elementInput

Definition at line 56 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ gamepads

std::shared_ptr<GamePads> visutwin::canvas::AppOptions::gamepads

Definition at line 54 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ graphicsDevice

std::shared_ptr<GraphicsDevice> visutwin::canvas::AppOptions::graphicsDevice

Definition at line 43 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ keyboard

std::shared_ptr<Keyboard> visutwin::canvas::AppOptions::keyboard

Definition at line 52 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ lightmapper

std::shared_ptr<Lightmapper> visutwin::canvas::AppOptions::lightmapper

Definition at line 48 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ mouse

std::shared_ptr<Mouse> visutwin::canvas::AppOptions::mouse

Definition at line 53 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ scriptPrefix

std::string visutwin::canvas::AppOptions::scriptPrefix

Definition at line 46 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ scriptsOrder

std::vector<std::string> visutwin::canvas::AppOptions::scriptsOrder

Definition at line 45 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ touch

std::shared_ptr<TouchDevice> visutwin::canvas::AppOptions::touch

Definition at line 55 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().

◆ xr

std::shared_ptr<XrManager> visutwin::canvas::AppOptions::xr

Definition at line 57 of file appOptions.h.

Referenced by visutwin::canvas::Engine::init().


The documentation for this struct was generated from the following file: