ERIS CORE

◆ Surface() [3/5]

Surface::Surface ( uint16_t *  buffer,
uint32_t  length 
)
inline

Definition at line 96 of file ILI9341_t3_ERIS.h.

96  {
97  //take an existing buffer as the surface buffer
98  guid = (uint32_t)buffer<<2 * (uint32_t)length;
99  pSB = buffer;
100  w = 0;
101  h = 0;
102  alloc_size = length;
103  head = 0; //used for sub surface allocation
104  /*
105  Serial.print(F("M Surface assigned: "));
106  Serial.print(alloc_size);
107  Serial.print(F(" pixels GUID: "));
108  Serial.println(guid);
109  */
110  }
uint32_t head
uint32_t alloc_size
uint16_t * pSB
uint16_t w
uint16_t h
uint32_t guid

References alloc_size, guid, h, head, pSB, and w.