56 :
Data(
source, type, width, height, 1, shared) {};
62 this->height = height;
66 this->shared = shared;
70 this->data =
reinterpret_cast<uint8_t*
>(
const_cast<void*
>(
source));
75 this->data =
new uint8_t[
size];
100 Object* obj =
reinterpret_cast<Object**
>(this->data)[i];
118 return this->width * this->height * this->depth;
148 return reinterpret_cast<void*
>(this->data);
158 bool d = this->dirty;
164 size_t width = 0, height = 1, depth = 1;
166 size_t elementSize = 0;
167 uint8_t* data =
nullptr;