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. | |
| RendererSettings (MultisamplePreference multisample) | |
| Constructor. | |
Public Attributes | |
| MultisamplePreference | multisamplePreference |
| Preference when selecting the multisampling method. | |
| 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. | |
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.