class ImageFactory

Defined at line 18 of file ../../src/ui/lib/escher/vk/image_factory.h

ImageFactory allows clients to obtain new Images with the desired

properties. Subclasses are free to implement custom caching/recycling

behaviors. All images obtained from an ImageFactory must be released before

the ImageFactory is destroyed.

Public Methods

ImagePtr NewImage (const ImageInfo & info, GpuMemPtr * out_ptr)

Creates an Image, backed by a block of memory. If |out_ptr| is non-null,

the image will be bound to a dedicated piece of memory (i.e.,

VkMemoryDedicatedRequirements.requiresDedicatedAllocation

== true). That memory must be accessable through the GpuMem returned in

|out_ptr|.

void ~ImageFactory ()

Defined at line 20 of file ../../src/ui/lib/escher/vk/image_factory.h