[][src]Module vulkano::pipeline::cache

Cache the pipeline objects to disk for faster reloads.

A pipeline cache is an opaque type that allow you to cache your graphics and compute pipelines on the disk.

You can create either an empty cache or a cache from some initial data. Whenever you create a graphics or compute pipeline, you have the possibility to pass a reference to that cache. TODO: ^ that's not the case yet The Vulkan implementation will then look in the cache for an existing entry, or add one if it doesn't exist.

Once that is done, you can extract the data from the cache and store it. See the documentation of get_data for example of how to store the data on the disk, and with_data for how to reload it.



Opaque cache that contains pipeline objects.