Kanzi 4.0.0-beta2
kanzi::Renderer::RendererSettings Struct Reference

Settings structure for renderer construction. More...

#include <kanzi/core.ui/graphics/renderer.hpp>

Public Member Functions

 RendererSettings ()=default
 Default constructor.
 

Public Attributes

shared_ptr< gfx::StatisticsgraphicsStatistics
 The Kanzi Graphics statistics layer.
 
bool shaderBinaryCacheCollisionCheck
 Indicates whether to check for hash collisions in shader binaries.
 
string shaderBinaryCacheDirectory
 Shader binary cache directory.
 
bool shaderBinaryCacheEnabled
 Indicates whether to cache shader binaries.
 
bool shaderBinaryCacheReadOnly
 Indicates whether the cache is read-only.
 

Detailed Description

Settings structure for renderer construction.

Constructor & Destructor Documentation

◆ RendererSettings()

kanzi::Renderer::RendererSettings::RendererSettings ( )
explicitdefault

Default constructor.

Member Data Documentation

◆ shaderBinaryCacheEnabled

bool kanzi::Renderer::RendererSettings::shaderBinaryCacheEnabled

Indicates whether to cache shader binaries.

By default, the application does not cache shader binaries.

Since
Kanzi 3.9.8

◆ shaderBinaryCacheReadOnly

bool kanzi::Renderer::RendererSettings::shaderBinaryCacheReadOnly

Indicates whether the cache is read-only.

By default, Kanzi updates the cache.

Since
Kanzi 3.9.8

◆ shaderBinaryCacheCollisionCheck

bool kanzi::Renderer::RendererSettings::shaderBinaryCacheCollisionCheck

Indicates whether to check for hash collisions in shader binaries.

By default, the application does not check for hash collisions.

Since
Kanzi 3.9.8

◆ shaderBinaryCacheDirectory

string kanzi::Renderer::RendererSettings::shaderBinaryCacheDirectory

Shader binary cache directory.

Since
Kanzi 3.9.8

◆ graphicsStatistics

shared_ptr<gfx::Statistics> kanzi::Renderer::RendererSettings::graphicsStatistics

The Kanzi Graphics statistics layer.

Since
Kanzi 4.0.0

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