Christian Costa : d3dxof: Use offsets to reference data instead of pointers so data buffer can be resized .