XLE
v0.02.0
|
Handles resource invalidation events More...
#include <Assets.h>
Public Member Functions | |
virtual void | OnChange () |
unsigned | GetValidationIndex () const |
void | RegisterDependency (const std::shared_ptr< Utility::OnChangeCallback > &dependency) |
DependencyValidation (DependencyValidation &&) never_throws | |
DependencyValidation & | operator= (DependencyValidation &&) never_throws |
DependencyValidation (const DependencyValidation &)=delete | |
DependencyValidation & | operator= (const DependencyValidation &)=delete |
Handles resource invalidation events
Utility class used for detecting resource invalidation events (for example, if a shader source file changes on disk). Resources that can receive invalidation events should use this class to declare that dependency.
For example: