|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||CoreGraphics||MBS MacCG Plugin||16.1||Yes||No||No||Yes, macOS only||No|
Notes: A CGDisplayStreamUpdate encapsulates information about what portions of a frame have changed relative to a previously delivered frame. This includes regions that were changed in any way, which ones were actually redrawn, and which regions were merely copied from one place to another.
- 6 properties
- method getRects(type as Integer) as CGRectMBS()
- 4 constants
The union of both refreshed and moved rects.
The rectangles that were simply moved from one part of the display to another
A possibly simplified (but overstated) array of dirty rectangles.
The rectangles that were refreshed on the display, not counting moved rectangles
This class has no sub classes.
Some events for this class:
- CGDisplayStreamEventMBS.FrameAvailable(Status as Integer, displayTime as UInt64, frameSurfaceHandle as Integer, Update as CGDisplayStreamUpdateMBS)
Some examples which use this class:
The items on this page are in the following plugins: MBS MacCG Plugin.
MBS Xojo blog