Synced
EditorAssets.DecodeNative
Section titled “EditorAssets.DecodeNative”
- Decodes detached native asset bytes with the current authoring pipeline’s converters and reference context.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public static TAsset Inno.Assets.Pipeline.EditorAssets.DecodeNative<TAsset>(byte[] bytes) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: Expected native asset type.
Parameters
Section titled “Parameters”Parameter bytes: Bytes previously produced by the native asset source codec.
Returns
Section titled “Returns”A detached asset value that can be edited without publishing it.