Kanzi  3.9.6
Kanzi Engine API
kanzi::Renderer::RendererSettings Struct Reference

Settings structure for 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...
 

Detailed Description

Settings structure for renderer construction.

Member Enumeration Documentation

◆ MultisamplePreference

Multisample preferencce.

Enumerator
MultisamplePreferenceNone 

No preference.

MultisamplePreferenceBlit 

Blit from renderbuffer.

MultisamplePreferenceExplicit 

Explicit multisample.

Samples must be accessed explicitly in shader.

MultisamplePreferenceImplicit 

Implicit multisample.

Resolved automatically.

Constructor & Destructor Documentation

◆ RendererSettings() [1/2]

kanzi::Renderer::RendererSettings::RendererSettings ( )
inlineexplicit

Default constructor.

◆ RendererSettings() [2/2]

kanzi::Renderer::RendererSettings::RendererSettings ( MultisamplePreference  multisample)
inlineexplicit

Constructor.

Parameters
multisampleMultisample preference setting.

Member Data Documentation

◆ multisamplePreference

MultisamplePreference kanzi::Renderer::RendererSettings::multisamplePreference

Preference when selecting the multisampling method.


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