Settings structure for the renderer construction. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/renderer.hpp>
Public Types | |
enum | MultisamplePreference { MultisamplePreferenceNone, MultisamplePreferenceBlit, MultisamplePreferenceExplicit, MultisamplePreferenceImplicit } |
Multisample preferencce. More... | |
Public Member Functions | |
RendererSettings () | |
Default constructor. More... | |
RendererSettings (MultisamplePreference multisample) | |
Constructor. More... | |
Public Attributes | |
MultisamplePreference | multisamplePreference |
Preference when selecting the multisampling method. More... | |
bool | shaderBinaryCacheCollisionCheck |
Indicates whether to check for hash collisions in shader binaries. More... | |
string | shaderBinaryCacheDirectory |
Shader binary cache directory. More... | |
bool | shaderBinaryCacheEnabled |
Indicates whether to cache shader binaries. More... | |
bool | shaderBinaryCacheReadOnly |
Indicates whether the cache is read-only. More... | |
Settings structure for the renderer construction.
Multisample preferencce.
|
inlineexplicit |
Default constructor.
|
inlineexplicit |
Constructor.
multisample | Multisample preference setting. |
MultisamplePreference kanzi::Renderer::RendererSettings::multisamplePreference |
Preference when selecting the multisampling method.
bool kanzi::Renderer::RendererSettings::shaderBinaryCacheEnabled |
Indicates whether to cache shader binaries.
By default, the application does not cache shader binaries.
bool kanzi::Renderer::RendererSettings::shaderBinaryCacheReadOnly |
Indicates whether the cache is read-only.
By default, Kanzi updates the cache.
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.
string kanzi::Renderer::RendererSettings::shaderBinaryCacheDirectory |
Shader binary cache directory.