This class encapsulates the global Rendering library. More...
#include <Coherent/renoir/include/RenoirCore/CoherentRenderingLibrary.h>
Inherited by renoir::Library.
Public Member Functions | |
virtual void | InitializeOnRenderThread (RendererBackend *backend)=0 |
Registers the Rendering Library with a render thread and sets the rendering backend. More... | |
virtual void | DestroyRenderingResources ()=0 |
Frees all rendering resources used by the Rendering Library that are shared in the Library. | |
virtual void | Uninitialize ()=0 |
Destroys the renderer. | |
virtual const char * | GetVersion () const =0 |
Gets the version of the Rendering Library. | |
virtual void | GetTextureCacheCountStats (unsigned &allocated, unsigned &capacity) const =0 |
Gets info about the number of objects statistic of a internal texture cache. More... | |
virtual void | GetTextureCacheBytesStats (unsigned &allocated, unsigned &capacity) const =0 |
Gets info about the bytes statistic of a internal texture cache. More... | |
virtual void | SetTextureCacheCountCapacity (unsigned capacity)=0 |
Sets the number of objects of a internal texture cache. More... | |
virtual void | SetTextureCacheBytesCapacity (unsigned capacity)=0 |
Sets the bytes of a internal texture cache. More... | |
virtual void | ClearTextureCache ()=0 |
Clears the internal texture cache. More... | |
virtual void | GetScratchLayerCacheBytesStats (unsigned &allocated, unsigned &capacity) const =0 |
Gets info about the amount of bytes allocated and the maximum capacity for objects in the internal per-frame layer cache. More... | |
virtual void | SetScratchLayerCacheBytesCapacity (unsigned capacity)=0 |
Sets the maximum capacity in bytes for the internal per-frame layer cache. More... | |
virtual void | GetScratchLayerCacheCountStats (unsigned &count, unsigned &capacity) const =0 |
Gets info about the allocated count and the maximum capacity for objects in the internal per-frame layer cache. More... | |
virtual void | SetScratchLayerCacheCountCapacity (unsigned capacity)=0 |
Sets the maximum amount of objects for the internal per-frame layer cache. More... | |
virtual void | GetScratchTextureCacheBytesStats (unsigned &allocated, unsigned &capacity) const =0 |
Gets info about the amount of bytes allocated and the maximum capacity for objects in the internal per-frame scratch texture cache. More... | |
virtual void | SetScratchTextureCacheBytesCapacity (unsigned capacity)=0 |
Sets the maximum capacity in bytes for the internal per-frame scratch texture cache. More... | |
virtual void | GetScratchTextureCacheCountStats (unsigned &count, unsigned &capacity) const =0 |
Gets info about the allocated count and the maximum capacity for objects in the internal per-frame scratch texture cache. More... | |
virtual void | SetScratchTextureCacheCountCapacity (unsigned capacity)=0 |
Sets the maximum amount of objects for the internal per-frame scratch texture cache. More... | |
virtual void | ClearScratchLayersCache ()=0 |
Clears the internal scratch layers cache. More... | |
virtual void | ClearScratchTexturesCache ()=0 |
Clears the internal scratch texture cache. More... | |
virtual void | ClearTextAtlases ()=0 |
Clears the internal fonts textures cache. More... | |
Static Public Member Functions | |
static RENOIR_API IRenderingLibrary * | Initialize (const RenderingLibraryParams ¶ms) |
Initializes the library. More... | |
This class encapsulates the global Rendering library.
|
pure virtual |
Clears the internal scratch layers cache.
|
pure virtual |
Clears the internal scratch texture cache.
|
pure virtual |
Clears the internal fonts textures cache.
|
pure virtual |
Clears the internal texture cache.
|
pure virtual |
Gets info about the amount of bytes allocated and the maximum capacity for objects in the internal per-frame layer cache.
|
pure virtual |
Gets info about the allocated count and the maximum capacity for objects in the internal per-frame layer cache.
|
pure virtual |
Gets info about the amount of bytes allocated and the maximum capacity for objects in the internal per-frame scratch texture cache.
|
pure virtual |
Gets info about the allocated count and the maximum capacity for objects in the internal per-frame scratch texture cache.
|
pure virtual |
Gets info about the bytes statistic of a internal texture cache.
|
pure virtual |
Gets info about the number of objects statistic of a internal texture cache.
|
static |
Initializes the library.
params | the initialization parameters of the library. |
|
pure virtual |
Registers the Rendering Library with a render thread and sets the rendering backend.
backend | Backend to be used in the render thread |
|
pure virtual |
Sets the maximum capacity in bytes for the internal per-frame layer cache.
|
pure virtual |
Sets the maximum amount of objects for the internal per-frame layer cache.
|
pure virtual |
Sets the maximum capacity in bytes for the internal per-frame scratch texture cache.
|
pure virtual |
Sets the maximum amount of objects for the internal per-frame scratch texture cache.
|
pure virtual |
Sets the bytes of a internal texture cache.
|
pure virtual |
Sets the number of objects of a internal texture cache.