|
| RenderingPipelineImpl (const RenderingPipelineType type=RenderingPipelineType::None) |
|
void | SetShaderType (const RenderingPipelineType type) |
|
RenderingPipelineType | GetShaderType () const |
|
const ShaderPipelineList & | GetRenderingPipelineCache () const |
|
template<class T > |
T * | As () |
|
template<class T > |
const T * | As () const |
|
template<class T > |
T * | ConstAs () const |
|
template<class T > |
T * | RAs () |
|
template<class T > |
const T * | RAs () const |
|
void | IncRefCount () |
|
void | DecRefCount () |
|
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 const ShaderPipelineList & | GetRenderingPipelineCache (const RenderingPipelineType type) |
|
static void | SetRenderingPipelineCache (const ShaderPipelineList &list, const RenderingPipelineType type) |
| Sets the list of shader pipelines in cache.
|
|
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 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.
|
|
◆ SetRenderingPipelineCache()
void venom::common::RenderingPipelineImpl::SetRenderingPipelineCache |
( |
const ShaderPipelineList & | list, |
|
|
const RenderingPipelineType | type ) |
|
static |
Sets the list of shader pipelines in cache.
- Warning
- Beware, this function MOVES the list inside the cache
- Parameters
-
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/include/venom/common/plugin/graphics/RenderingPipeline.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/src/RenderingPipeline.cc