CallbackTextureSource equivalent with a unique callback texture per manager.
Native cache ownership is retained by returned views. JS move construction and assignment use ordinary object references; no native resource is copied.
Store a synchronous callback, or create the native default empty source.
callback
Optional
Generation callback; undefined gives empty views.
Acquire the lazily generated view cached for a live render manager.
manager
Native render manager.
Cached view; unused manager release clears that cache entry.
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
CallbackTextureSource equivalent with a unique callback texture per manager.
Remarks
Native cache ownership is retained by returned views. JS move construction and assignment use ordinary object references; no native resource is copied.