Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Validates a complete device program artifact before constructing an owned pipeline descriptor.

API: engine
Project: Inno.Rendering

public static Inno.Rendering.GraphicsPipelineDescriptor Inno.Rendering.GraphicsProgramArtifactCodec.Decode(System.ReadOnlySpan<byte> bytes, Inno.Rendering.RenderVertexLayout? vertexLayout = null)

Parameter bytes: The complete current artifact, including its strict magic header.

Parameter vertexLayout: The caller’s vertex layout, or null for a procedural pipeline.

A detached descriptor containing the validated binaries, bindings, and raster state.

Exception T:System.IO.InvalidDataException: The input is truncated, oversized, malformed, or contains trailing data.