Synced
AssetSourceStore.Encode
Section titled “AssetSourceStore.Encode”
- Encodes native asset properties with the owner’s reference context and dependency capture.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public byte[] Inno.Assets.Pipeline.AssetSourceStore.Encode<TAsset>(TAsset asset) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: Native asset source type.
Parameters
Section titled “Parameters”Parameter asset: Detached editable value.
Returns
Section titled “Returns”Native source bytes, with no canonical asset mutation.