Classes | |
| class | kanzi::gfx::AbstractBackend |
| Defines of a graphics library backend. More... | |
| class | kanzi::gfx::BackendLayer |
| Base class for a backend layer. More... | |
| class | kanzi::gfx::DebugInformation |
| Interface to access Kanzi graphics debug information, such as object names. More... | |
| class | kanzi::gfx::Statistics |
| Interface to access Kanzi graphics statistics, such as object and command counts. More... | |
Functions | |
| KANZI_GFX_API shared_ptr< BackendLayer > | kanzi::gfx::createStatisticsLayer () |
| Constructs a statistics layer for the Kanzi graphics library. | |
| KANZI_GFX_API shared_ptr< BackendLayer > | kanzi::gfx::createValidationLayer () |
| Constructs a validation layer for the Kanzi graphics library. | |
The backend layers in the graphics library. Use layers to augment and customize a backend with new features.
| KANZI_GFX_API shared_ptr< BackendLayer > kanzi::gfx::createStatisticsLayer | ( | ) |
Constructs a statistics layer for the Kanzi graphics library.
To install the return from this function, use the InitializationInfo structure during initialization. To allow access to the statistics at runtime, you can cast the return value to the Statistics interface. You can call this function before the graphics initialization.
| KANZI_GFX_API shared_ptr< BackendLayer > kanzi::gfx::createValidationLayer | ( | ) |
Constructs a validation layer for the Kanzi graphics library.
You can use the validation layer to ensure proper usage of the graphics API. Validation errors appear in the default console. To install the validation layer returned from this function, use the InitializationInfo structure during initialization. You can call this function before the graphics initialization. The validation layer returned implements the DebugInformation interface and can be used to get diagnostic information about Kanzi graphics objects.