Kanzi 4.0.0-beta2
kanzi::gfx::OpenGLInitializationInfo Struct Reference

Defines the initialization parameters for the OpenGL backend. More...

#include <kanzi/gfx/platform/backend/opengl/create_backend.hpp>

Public Attributes

shared_ptr< kanzi::platform::OpenGLPlatformplatform
 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.
 

Detailed Description

Defines the initialization parameters for the OpenGL backend.

Since
Kanzi 4.0.0

Member Data Documentation

◆ platform

shared_ptr<kanzi::platform::OpenGLPlatform> kanzi::gfx::OpenGLInitializationInfo::platform

Reference to the platform library that the backend uses to interact with the platform.

◆ useRenderThread

bool kanzi::gfx::OpenGLInitializationInfo::useRenderThread

Use a Render Thread.

This is the default behavior, but it can be disabled for assistance with debugging.

◆ programCacheDirectory

string kanzi::gfx::OpenGLInitializationInfo::programCacheDirectory

Directory in which program_cache.bin is created in. If empty, cache is disabled.

◆ programCacheEnabled

bool kanzi::gfx::OpenGLInitializationInfo::programCacheEnabled

If true, initial cache data is read from disk.

◆ programCacheReadOnly

bool kanzi::gfx::OpenGLInitializationInfo::programCacheReadOnly

If true, updated cache data is not saved to disk.


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