Skip to content

TextureRef

TextureRef = string | TextureHandle

Defined in: renderer/src/public-types.ts:45

Serializable texture reference — an asset key or typed handle. The form serialized components accept: snapshots store the key, so the texture must be resolvable by key on restore (a preloaded asset path or a registerTexture entry).