VenomEngine
Cross-Platform Modern Graphics Engine
|
Base class for cached resources. More...
#include <GraphicsPluginObject.h>
Public Member Functions | |
GraphicsCachedResource (GraphicsCachedResourceHolder *h) | |
GraphicsCachedResource (const GraphicsCachedResource &)=delete | |
GraphicsCachedResource & | operator= (const GraphicsCachedResource &)=delete |
void | ReleaseFromCache () |
template<typename T > | |
bool | IsType () const |
template<typename T > | |
T * | As () |
template<typename T > | |
const T * | As () const |
void | SetHolder (GraphicsCachedResourceHolder *h) |
GraphicsCachedResourceHolder * | GetHolder () const |
Base class for cached resources.