Defines the initialization parameters for the OpenGL backend. More...
#include <kanzi/gfx/platform/backend/opengl/create_backend.hpp>
Public Attributes | |
| shared_ptr< kanzi::platform::OpenGLPlatform > | platform |
| Reference to the platform library that the backend uses to interact with the platform. | |
| string | programCacheDirectory |
| Directory in which program_cache.bin is created in. If empty, cache is disabled. | |
| bool | programCacheEnabled |
| If true, initial cache data is read from disk. | |
| bool | programCacheReadOnly |
| If true, updated cache data is not saved to disk. | |
| bool | useRenderThread |
| Use a Render Thread. | |
Defines the initialization parameters for the OpenGL backend.
| shared_ptr<kanzi::platform::OpenGLPlatform> kanzi::gfx::OpenGLInitializationInfo::platform |
Reference to the platform library that the backend uses to interact with the platform.
| bool kanzi::gfx::OpenGLInitializationInfo::useRenderThread |
Use a Render Thread.
This is the default behavior, but it can be disabled for assistance with debugging.
| string kanzi::gfx::OpenGLInitializationInfo::programCacheDirectory |
Directory in which program_cache.bin is created in. If empty, cache is disabled.
| bool kanzi::gfx::OpenGLInitializationInfo::programCacheEnabled |
If true, initial cache data is read from disk.
| bool kanzi::gfx::OpenGLInitializationInfo::programCacheReadOnly |
If true, updated cache data is not saved to disk.