Class Cache<PipelineType>
Type parameters
-
PipelineType: GPUPipelineBase
Properties
Private map
map
: Map<number, CacheData<PipelineType>> = new Map<number, CacheData<PipelineType>>()
Methods
get
- get(key: string): undefined | CacheData<PipelineType>
-
Parameters
Returns undefined | CacheData<PipelineType>
set
- set(key: string, value: CacheData<PipelineType>): this
Static Private hash
- hash(value: string): number
-
Parameters
Returns number