Cogs.Core
|
Interface to the render resources. More...
#include <IRenderer.h>
Public Member Functions | |
virtual ActivationResult | updateResource (const TextureHandle &texture)=0 |
virtual ActivationResult | updateResource (const MeshHandle &mesh)=0 |
virtual ActivationResult | updateResource (const EffectHandle &effect)=0 |
virtual ActivationResult | updateResource (const MaterialHandle &material)=0 |
virtual ActivationResult | updateResource (const MaterialInstanceHandle &materialInstance)=0 |
virtual void | releaseResource (Texture *texture)=0 |
virtual void | releaseResource (Mesh *mesh)=0 |
virtual void | releaseResource (Effect *effect)=0 |
virtual void | releaseResource (Material *material)=0 |
virtual void | releaseResource (MaterialInstance *materialInstance)=0 |
virtual std::string | getReport () const =0 |
Interface to the render resources.
This interface is used to update or release resources that the renderer should use when rendering.
All resources given to the renderer with calls to any of the updateResource() methods must be released with corresponding calls to releaseResource() before the renderer is destroyed.
Definition at line 63 of file IRenderer.h.