|
iPlug2 - C++ Audio Plug-in Framework
|
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.
|
inline |
Create a layer/offscreen context (used internally)
| 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.
|
inline |
Definition at line 2359 of file IGraphicsStructs.h.
Referenced by IGraphics::PushLayer().
|
inline |
Definition at line 2353 of file IGraphicsStructs.h.
|
inline |
Definition at line 2356 of file IGraphicsStructs.h.
|
inline |
Mark the layer as needing its contents redrawn
Definition at line 2350 of file IGraphicsStructs.h.