|
Error | Init () |
|
virtual Error | __Init ()=0 |
|
virtual vc::Error | __PostInit ()=0 |
|
Error | Loop () |
|
virtual Error | __Loop ()=0 |
|
virtual bool | ShouldClose ()=0 |
|
virtual void | Destroy () override |
| /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
|
|
| PluginObject (const PluginType type) |
|
PluginType | GetType () const override |
|
template<class T > |
T * | DAs () |
|
template<class T > |
const T * | DAs () const |
|
|
static GraphicsApplication * | Get () |
|
static GraphicsApplication * | Create () |
|
static int | GetCurrentFrame () |
|
static bool | HasCachedObject (const std::string &path) |
| Checks if an object is in the cache.
|
|
static SPtr< GraphicsCachedResource > | GetCachedObject (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 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 () |
|
|
ShaderResourceTable * | _shaderResourceTable |
|
GUI * | _gui |
|
UPtr< vc::Texture > | _dummyTexture |
|
GfxSettingsChangeState | _gfxSettingsChangeState |
|
MultiSamplingModeOption | _samplingMode |
|
int | _samples |
|
bool | _multisamplingDirty |
|
bool | _isHdrSupported |
|
|
static int | _currentFrame = 0 |
|
|
enum class | MultiSamplingModeOption { None = 1
, MSAA = 2
} |
|
enum class | MultiSamplingCountOption {
None = 1
, Samples2 = 2
, Samples4 = 4
, Samples8 = 8
,
Samples16 = 16
, Samples32 = 32
} |
|
enum class | GfxSettingsChangeState { Ended
, Started
} |
|
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 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: