Added XnaResource class, updated XnaTexture.