XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALPipelineCache Class Reference

A cache from pipeline descriptor to handle which holds a reference to each pipeline that is never freed until shutdown. More...

#include <PipelineStateCache.h>

Public Member Functions

template<typename HandleType, typename DescType, typename KeyType>
HandleType TryGetPipeline (const DescType &description, xiiHashTable< KeyType, HandleType, xiiGALPipelineCache::CacheKeyHasher > &table)
 

Static Public Member Functions

static xiiSharedPtr< xiiGALGraphicsPipelineStateGetPipeline (const xiiGALGraphicsPipelineStateCreationDescription &description)
 Creates a pipeline or retrieves it from the cache.
 
static xiiSharedPtr< xiiGALComputePipelineStateGetPipeline (const xiiGALComputePipelineStateCreationDescription &description)
 Creates a pipeline or retrieves it from the cache.
 

Friends

class xiiMemoryUtils
 

Detailed Description

A cache from pipeline descriptor to handle which holds a reference to each pipeline that is never freed until shutdown.


The documentation for this class was generated from the following files: