title: Generating one Texture2D from multiple Texture2Ds
body: <p>My problem is the I need to represent a length-changing floor using a Texture2D, which means a floor that the sides has the image of the sides, and in the middle it repeats the same 'middle' image, like so:
  <img src="https://i.stack.imgur.com/94zz0.png" alt="enter image description here"></p>
  
  <p>To achieve this, I get the 'left edge', the 'middle' and the 'right edge' textures, problem is I don't know how to merge them into one single texture2D,</p>
  
  <p>It is important to do that at run-time because the floor length is changing (horizontally),
  I read you can do that using SetData but I have no idea how...</p>
  
  <p>It is very important for me that it will act as one texture and not multiple texture parts because I am using Farseer Physics Engine to move the floor and use it.</p>
  
  <p>I am using C# and XNA with Visual Studio 2010, I am an almost-experienced C# programmer,</p>
  
  <p>Thank you!</p>