Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::PipelineStateCacheDesc Struct Reference

Pipeline state cache description. More...

#include <PipelineStateCache.h>

Inheritance diagram for Diligent::PipelineStateCacheDesc:
Diligent::DeviceObjectAttribs

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.
 
- Public Attributes inherited from Diligent::DeviceObjectAttribs
const Char * Name = nullptr
 Object name.
 

Detailed Description

Pipeline state cache description.

Member Data Documentation

◆ Mode

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.