protected override void DisposeData()
 {
     if (vertexBuffer != null)
     {
         vertexBuffer.Dispose();
     }
     if (indexBuffer != null)
     {
         indexBuffer.Dispose();
     }
 }
 protected override void DisposeNative()
 {
     DisposeUnusedBuffersFromPreviousFrame();
     nativeVertexBuffer.Dispose();
     nativeIndexBuffer.Dispose();
 }