public override void GetBackBufferData <T>(Rectangle?rect, T[] data, int startIndex, int elementCount) { if (rect.HasValue) { XNA.Rectangle r; Rectangle temp = rect.Value; XNAHelper.ConvertRectangle(ref temp, out r); _graphicsDevice.GetBackBufferData <T>(r, data, startIndex, elementCount); } else { _graphicsDevice.GetBackBufferData <T>(null, data, startIndex, elementCount); } }