public static GraphicsResource CreateBuffer(GraphicsDevice device, int size, ResourceFlags bufferFlags, HeapType heapType = HeapType.Default)
 {
     return(new GraphicsResource(device, ResourceDescription.Buffer(size, bufferFlags), heapType));
 }