Skip to main content

Interface: Cache<V>

API for pluggable cache

Type parameters

NameType
Vextends object

Methods

get

get(key): undefined | V

Parameters

NameType
keystring

Returns

undefined | V

Defined in

node_modules/.pnpm/[email protected]/node_modules/thimbleberry/dist/shader-util/MemoMemo.d.ts:5


set

set(key, value): void

Parameters

NameType
keystring
valueV

Returns

void

Defined in

node_modules/.pnpm/[email protected]/node_modules/thimbleberry/dist/shader-util/MemoMemo.d.ts:6