Function Texture.lock

Locks a texture from editing

void lock (
  void** pixels,
  int* pitch,
  AxisAlignedBoundingBox!(int,2) location = null
);