VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::GraphicsSettings Class Referenceabstract

#include <GraphicsSettings.h>

+ Inheritance diagram for venom::common::GraphicsSettings:

Public Types

enum class  MultiSamplingModeOption { None = 1 , MSAA = 2 }
 
enum class  MultiSamplingCountOption {
  None = 1 , Samples2 = 2 , Samples4 = 4 , Samples8 = 8 ,
  Samples16 = 16 , Samples32 = 32
}
 

Static Public Member Functions

static vc::Error ManageGfxSettingsLoadingQueue ()
 
static vc::Error SetMultiSampling (const MultiSamplingModeOption mode, const MultiSamplingCountOption samples)
 
static vc::Error SetHDR (bool enable)
 
static bool IsHDREnabled ()
 
static bool IsHDRSupported ()
 
static void StartGfxSettingsChange ()
 
static vc::Error EndGfxSettingsChange ()
 
static int GetSamplesMultisampling ()
 
static const vc::Vector< MultiSamplingCountOption > & GetAvailableMultisamplingOptions ()
 

Protected Types

enum class  GfxSettingsChangeState { Ended , Started }
 

Protected Member Functions

virtual vc::Error _LoadGfxSettings ()=0
 
virtual vc::Error _SetMultiSampling (const MultiSamplingModeOption mode, const MultiSamplingCountOption samples)=0
 
virtual vc::Vector< MultiSamplingCountOption > _GetAvailableMultisamplingOptions ()=0
 
virtual vc::Error _SetHDR (bool enable)=0
 

Protected Attributes

GfxSettingsChangeState _gfxSettingsChangeState
 
MultiSamplingModeOption _samplingMode
 
int _samples
 
bool _multisamplingDirty
 
bool _isHdrSupported
 

Detailed Description

Interface of GraphicsApplication class to set the graphics settings. Includable in any plugin, useful to get access to enum and other things...


The documentation for this class was generated from the following files: