Function Allocator.allocateBuffer

Create a buffer, then allocate and bind memory for its requirements

final BufferAlloc allocateBuffer (
  in const(BufferUsage) usage,
  in const(ulong) size,
  in const(AllocOptions) options = AllocOptions(cast(AllocFlags)0, cast(MemoryUsage)0, cast(MemProps)0, cast(MemProps)0, 0u)
);