@huukhanhnguyen/model / schema/textureResolve
schema/textureResolve
ResolveTextureOptions
ResolveTextureOptions = {
argsOverride?:Record<string,string>;cache?:Map<string,ImageBuffer>;imageOf?: (url) =>TextureData|undefined;registry?:RegistryHost;textures?:Chain[]; }
argsOverride?
optionalargsOverride?:Record<string,string>
Per-call rebinding of the ENTRY chain's own parameters.
cache?
optionalcache?:Map<string,ImageBuffer>
Intra-resolve memo (see TextureScope.cache).
imageOf?
optionalimageOf?: (url) =>TextureData|undefined
Bitmap registry for the image source (Store pre-load).
Parameters
url
string
Returns
TextureData | undefined
registry?
optionalregistry?:RegistryHost
Needed to evaluate parameters; absent → every chain sees {}.
textures?
optionaltextures?:Chain[]
Sibling chains for blend/warp/channels cross-references.