TRenderThread extends the standard TPersistent class with the thread-safe locking and declares change notification events.
The locking provides means of syncronization of simultaneous access to the same resource in applications with multiple threads and it works similar to that in TCanvas class. For additional information, see Delphi documentation on TCanvas.
This class also declares change notification abilities. That is, it provides methods and events allowing it descendants to issue notification on their changes. For example, TBitmap32 uses OnChange to notify its container (usually TImage32 or TBitmapLayer) that it was modified and its data has to be repainted to the screen. TThreadPersistent, however, does not use or implement automatic change notification itself. This is done in descendants.
Methods |
---|
Create |
TBitmap32, TNotifiablePersistent.OnChange, TImage32, TBitmapLayer
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024