Synced
GeometryArtifact.Decode
Section titled “GeometryArtifact.Decode”
- Decodes and strictly validates one immutable geometry artifact.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public static Inno.Rendering.Assets.GeometryData Inno.Rendering.Assets.GeometryArtifact.Decode(System.ReadOnlySpan<byte> bytes)Parameters
Section titled “Parameters”Parameter bytes: The complete artifact payload.
Returns
Section titled “Returns”The normalized geometry represented by the payload.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: Thrown when the artifact is empty, corrupt, truncated, or contains invalid ranges.