RavEngine
Loading...
Searching...
No Matches
RavEngine::Texture::Manager Struct Reference

#include <Texture.hpp>

Inheritance diagram for RavEngine::Texture::Manager:
[legend]
Collaboration diagram for RavEngine::Texture::Manager:
[legend]

Static Public Attributes

static Ref< RavEngine::Texture > defaultTexture
 
static Ref< RavEngine::Texture > defaultNormalTexture
 
static Ref< RavEngine::Texture > zeroTexture
 

Additional Inherited Members

- Public Types inherited from RavEngine::CacheBase
using unique_key_t = uint32_t
 
- Static Public Member Functions inherited from RavEngine::GenericWeakReadThroughCache< std::string, RavEngine::Texture >
static Ref< RavEngine::Texture > Get (const std::string &str, A ... extras)
 
static Ref< RavEngine::Texture > GetWithKey (const std::string &str, unique_key_t unique_key, A ... extras)
 
static void Compact ()
 
static void Clear ()
 
- Static Protected Attributes inherited from RavEngine::GenericWeakReadThroughCache< std::string, RavEngine::Texture >
static UnorderedMap< std::tuple< std::string, unique_key_t >, WeakRef< RavEngine::Texture > > items
 
static SpinLock mtx
 

Detailed Description

Use the manager to avoid loading duplicate textures


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