/// <summary> /// Changes the format. /// </summary> /// <param name="width">The width of the buffer that will be used for detection.</param> /// <param name="height">The height of the buffer that will be used for detection.</param> internal void ChangeFormat(int width, int height) { this.buffer = new ArgbRaster(width, height); base.Initialize(width, height, nearPlane, farPlane, markers, ArgbRaster.BufferType, isAdaptive); }