class ImageFactoryAdapter
Defined at line 36 of file ../../src/ui/lib/escher/vk/image_factory.h
This default implementation allocates memory and creates a new
Image using the provided allocator and manager. The intent is for this class
to adapt existing GpuAllocators to the ImageFactory interface (i.e.
equivalent to a partial bind). Classes that wish to implement their own
caching logic should subclass ImageFactory directly, instead of injecting
tricky subclasses of GpuAllocator and ResourceManager into this object.
Public Methods
void ImageFactoryAdapter (GpuAllocator * allocator, ResourceManager * manager)
Defined at line 38 of file ../../src/ui/lib/escher/vk/image_factory.h
ImagePtr NewImage (const ImageInfo & info, GpuMemPtr * out_ptr)
Defined at line 41 of file ../../src/ui/lib/escher/vk/image_factory.h