UpdateRegionObserver Class Reference

#include <gfx_image_updateregion.h>

Public Member Functions

Result< void > AddObserver (const ImageBaseRef &image)
 
Range< IntVector2dGetRegionAndReset ()
 

Private Attributes

FunctionBaseRef _observer
 
UpdateRegion _dirtyRegion
 

Member Function Documentation

◆ AddObserver()

Result<void> AddObserver ( const ImageBaseRef &  image)

◆ GetRegionAndReset()

Range<IntVector2d> GetRegionAndReset ( )

Member Data Documentation

◆ _observer

FunctionBaseRef _observer
private

◆ _dirtyRegion

UpdateRegion _dirtyRegion
private