Synced
GeometryArtifact.Encode
Section titled “GeometryArtifact.Encode”
- Encodes normalized geometry into the immutable runtime artifact layout.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public static byte[] Inno.Rendering.Assets.GeometryArtifact.Encode(Inno.Rendering.Assets.GeometryData data)Parameters
Section titled “Parameters”Parameter data: The normalized vertices, indices, and sections to encode.
Returns
Section titled “Returns”A complete geometry artifact owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when data is null.