class BufferFactoryAdapter
Defined at line 38 of file ../../src/ui/lib/escher/vk/buffer_factory.h
This default implementation allocates memory and creates a new
Buffer using the provided allocator and manager. The intent is for this class
to adapt existing GpuAllocators to the BufferFactory interface (i.e.
equivalent to a partial bind). Classes that wish to implement their own
caching logic should subclass BufferFactory directly, instead of injecting
tricky subclasses of GpuAllocator and ResourceManager into this object.
Public Methods
void BufferFactoryAdapter (GpuAllocator * allocator, ResourceManager * manager)
Defined at line 40 of file ../../src/ui/lib/escher/vk/buffer_factory.h
BufferPtr NewBuffer (vk::DeviceSizesize,vk::BufferUsageFlagsusage_flags,vk::MemoryPropertyFlagsmemory_property_flags,GpuMemPtr *out_ptr)
Defined at line 43 of file ../../src/ui/lib/escher/vk/buffer_factory.h