MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > b) Data Types and Constants > laLayer_t Structure
MPLAB® Harmony Graphics Suite
laLayer_t Structure

Structure: laLayer_t

C
struct laLayer_t {
  laWidget widget;
  laScreen* screen;
  laBool deleting;
  uint32_t bufferCount;
  laLayerBuffer buffers[GFX_MAX_BUFFER_COUNT];
  laBool alphaEnable;
  laBool maskEnable;
  GFX_Color maskColor;
  laBool vsync;
  laRectArray prevDamageRects;
  laRectArray currentDamageRects;
  laRectArray pendingDamageRects;
  laRectArray scratchRectList;
  laRectArray frameRectList;
  uint32_t frameRectIdx;
  GFX_Rect clippedDrawingRect;
  laBool drawingPrev;
  laLayerFrameState frameState;
  uint32_t layerDrawCount;
  uint32_t frameDrawCount;
  GFX_Rect inputRect;
  laBool inputRectLocked;
  laBool allowInputPassThrough;
  uint32_t deltaTime;
};
Members
Members 
Description 
laWidget widget; 
base widget 
laScreen* screen; 
owning screen pointer 
laBool deleting; 
flag indicating that no changes should be made to the layer because it is in the process of being deleted 
uint32_t bufferCount; 
number of buffers in the layer 
laLayerBuffer buffers[GFX_MAX_BUFFER_COUNT]; 
buffer array 
laBool alphaEnable; 
layer-based alpha blending enable flag 
laBool maskEnable; 
layer-based color masking enable flag 
GFX_Color maskColor; 
layer-based masking color value 
laBool vsync; 
layer vsync flag 
laRectArray prevDamageRects; 
previous damaged rectangle list 
laRectArray currentDamageRects; 
queued damaged rectangle list 
laRectArray pendingDamageRects; 
pending damaged rectangle list these are rectangles added during a frame in progress 
laRectArray scratchRectList; 
used for rectangle culling phase 
laRectArray frameRectList; 
this of rects to draw for a frame GFX_Rect currentDrawingRect; // the current damage rectangle 
GFX_Rect clippedDrawingRect; 
the current damage rectangle clipped to the currently rendering widget 
laBool drawingPrev; 
indicates if the layer is currently drawing from its previous rectangle array 
laLayerFrameState frameState; 
the current frame render state of the layer 
uint32_t layerDrawCount; 
the number of times this layer has drawn 
uint32_t frameDrawCount; 
the number of widgets that have rendered on this layer this frame 
GFX_Rect inputRect; 
layer input area 
laBool inputRectLocked; 
input area matches layer dimensions 
laBool allowInputPassThrough; 
indicates that input events should be propagated through the layer node to left siblings 
uint32_t deltaTime; 
stores delta time for updates that happen during rendering 
Remarks

None.

MPLAB® Harmony Graphics Suite