Configuration for the system's initialization.
More...
Configuration for the system's initialization.
◆ Configuration()
nkGraphics::Configuration::Configuration |
( |
| ) |
|
|
noexcept |
◆ getWantedApi()
- Returns
- The currently wanted rendering API.
◆ setWantedApi()
void nkGraphics::Configuration::setWantedApi |
( |
RENDERING_API |
value | ) |
|
Sets the wanted rendering API.
- Parameters
-
value | The rendering API to use. |
◆ exportClassToTree()
virtual void nkGraphics::Configuration::exportClassToTree |
( |
nkExport::Node * |
rootNode | ) |
|
|
overridevirtual |
Exports the class into a tree.
Format :
{
"wantedApi" : "[auto|d3d11|d3d12|gles]"
}
- Parameters
-
rootNode | The node to export into. |
Implements nkExport::Exportable.
◆ importClassFromTree()
virtual void nkGraphics::Configuration::importClassFromTree |
( |
nkExport::Node * |
rootNode | ) |
|
|
overridevirtual |
Imports information from a tree which is supposed to describe its structure and data.
- Parameters
-
rootNode | The root node of the tree holding the information. |
Implements nkExport::Exportable.
The documentation for this class was generated from the following file: