Pipeline state cache description. More...
#include <PipelineStateCache.h>
Public Attributes | |
PSO_CACHE_MODE | Mode = PSO_CACHE_MODE_LOAD_STORE |
Cache mode, see Diligent::PSO_CACHE_MODE. | |
PSO_CACHE_FLAGS | Flags = PSO_CACHE_FLAG_NONE |
PSO cache flags, see Diligent::PSO_CACHE_FLAGS. | |
![]() | |
const Char * | Name = nullptr |
Object name. | |
Pipeline state cache description.
PSO_CACHE_MODE Diligent::PipelineStateCacheDesc::Mode = PSO_CACHE_MODE_LOAD_STORE |
Cache mode, see Diligent::PSO_CACHE_MODE.
Metal backend allows generating the cache on one device and loading PSOs from it on another.
Vulkan PSO cache depends on the GPU device, driver version and other parameters, so the cache must be generated and used on the same device.