VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::GraphicsApplication Class Referenceabstract
+ Inheritance diagram for venom::common::GraphicsApplication:

Public Member Functions

Error Init ()
 
virtual Error __Init ()=0
 
virtual vc::Error __PostInit ()=0
 
Error Loop ()
 
virtual Error __Loop ()=0
 
virtual bool ShouldClose ()=0
 
- Public Member Functions inherited from venom::common::GraphicsPluginObject
virtual void Destroy () override
 /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
 
- Public Member Functions inherited from venom::common::PluginObject
 PluginObject (const PluginType type)
 
PluginType GetType () const override
 
template<class T >
T * DAs ()
 
template<class T >
const T * DAs () const
 
- Public Member Functions inherited from venom::common::IPluginObject
- Public Member Functions inherited from venom::common::GraphicsSettings

Static Public Member Functions

static GraphicsApplicationGet ()
 
static GraphicsApplicationCreate ()
 
static int GetCurrentFrame ()
 
- Static Public Member Functions inherited from venom::common::GraphicsPluginObject
static bool HasCachedObject (const std::string &path)
 Checks if an object is in the cache.
 
static SPtr< GraphicsCachedResourceGetCachedObject (const std::string &path)
 Gets a cached object from the graphics cache.
 
static const std::unordered_map< std::string, std::shared_ptr< GraphicsCachedResource > > & GetCachedObjects ()
 Gets all cached objects.
 
- Static Public Member Functions inherited from venom::common::GraphicsSettings
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 Attributes

ShaderResourceTable_shaderResourceTable
 
GUI_gui
 
UPtr< vc::Texture_dummyTexture
 
- Protected Attributes inherited from venom::common::GraphicsSettings
GfxSettingsChangeState _gfxSettingsChangeState
 
MultiSamplingModeOption _samplingMode
 
int _samples
 
bool _multisamplingDirty
 
bool _isHdrSupported
 

Static Protected Attributes

static int _currentFrame = 0
 

Additional Inherited Members

- Public Types inherited from venom::common::GraphicsSettings
enum class  MultiSamplingModeOption { None = 1 , MSAA = 2 }
 
enum class  MultiSamplingCountOption {
  None = 1 , Samples2 = 2 , Samples4 = 4 , Samples8 = 8 ,
  Samples16 = 16 , Samples32 = 32
}
 
- Protected Types inherited from venom::common::GraphicsSettings
enum class  GfxSettingsChangeState { Ended , Started }
 
- Protected Member Functions inherited from venom::common::GraphicsSettings
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
 
- Static Protected Member Functions inherited from venom::common::GraphicsPluginObject
static void _SetInCache (const std::string &path, const SPtr< GraphicsCachedResource > &object)
 Sets an object in the cache.
 
static void _SetCacheSize (size_t size)
 Adds cache size to avoid unnecessary additional allocations.
 
static void _AddCacheSize (size_t size)
 Adds cache size to avoid unnecessary additional allocations.
 

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