ULIS  dev4.0.7
Utility Library for Imaging Systems
Public Member Functions | Protected Member Functions | List of all members
TAnimatedDrawable< BlockType > Class Template Referenceabstract

The TAnimatedDrawable class provides a base abstract interface to perform cached renders of contents for layers.

Public Member Functions

virtual void InvalidImageCache ()
 
bool IsImageCacheValid () const
 
virtual FEvent RenderImage (FContext &iCtx, BlockType &ioBlock, uint32 iFrame, const FRectI &iRect=FRectI::Auto, const FVec2I &iPos=FVec2I(0), const FSchedulePolicy &iPolicy=FSchedulePolicy(), uint32 iNumWait=0, const FEvent *iWaitList=nullptr)=0
 
virtual FEvent RenderImageCache (FContext &iCtx)
 

Protected Member Functions

 TAnimatedDrawable ()
 
void ValidateImageCache ()
 

Constructor & Destructor Documentation

◆ TAnimatedDrawable()

template<class BlockType >
TAnimatedDrawable< BlockType >::TAnimatedDrawable ( )
protected

Member Function Documentation

◆ InvalidImageCache()

template<class BlockType >
virtual void TAnimatedDrawable< BlockType >::InvalidImageCache ( )
virtual

◆ IsImageCacheValid()

template<class BlockType >
bool TAnimatedDrawable< BlockType >::IsImageCacheValid ( ) const

◆ RenderImage()

template<class BlockType >
virtual FEvent TAnimatedDrawable< BlockType >::RenderImage ( FContext iCtx,
BlockType &  ioBlock,
uint32  iFrame,
const FRectI iRect = FRectI::Auto,
const FVec2I iPos = FVec2I(0),
const FSchedulePolicy iPolicy = FSchedulePolicy(),
uint32  iNumWait = 0,
const FEvent iWaitList = nullptr 
)
pure virtual

◆ RenderImageCache()

template<class BlockType >
virtual FEvent TAnimatedDrawable< BlockType >::RenderImageCache ( FContext iCtx)
virtual

◆ ValidateImageCache()

template<class BlockType >
void TAnimatedDrawable< BlockType >::ValidateImageCache ( )
protected