iPlug 2: ILayer Class Reference
An abstraction that is used to store a temporary raster image/framebuffer. More...
#include <IGraphicsStructs.h>
Public Member Functions | |
| ILayer (APIBitmap *pBitmap, const IRECT &layerRect, IControl *pControl, const IRECT &controlRect) | |
| Create a layer/offscreen context (used internally) More... | |
| ILayer (const ILayer &)=delete | |
| ILayer | operator= (const ILayer &)=delete |
| void | Invalidate () |
| Mark the layer as needing its contents redrawn More... | |
| const APIBitmap * | GetAPIBitmap () const |
| IBitmap | GetBitmap () const |
| const IRECT & | Bounds () const |
An abstraction that is used to store a temporary raster image/framebuffer.
The layer is drawn with a specific offset to the graphics context. ILayers take ownership of the underlying bitmaps In GPU-based backends (NanoVG), this is a texture.
Definition at line 2328 of file IGraphicsStructs.h.
Create a layer/offscreen context (used internally)
- Parameters
-
pBitmap The APIBitmap to use for the layer layerRect The bounds of the layer withing the graphics context pControl The control that the layer belongs to controlRect The bounds of the control
Definition at line 2338 of file IGraphicsStructs.h.
◆ Bounds()
|
inline |
◆ GetAPIBitmap()
|
inline |
◆ GetBitmap()
|
inline |
◆ Invalidate()
|
inline |
The documentation for this class was generated from the following file: