Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Encodes owned program binaries, reflected bindings, and raster state for device distribution. Vertex layout belongs to the eventual caller and is not part of this artifact.

API: engine
Project: Inno.Rendering

public static byte[] Inno.Rendering.GraphicsProgramArtifactCodec.Encode(Inno.Rendering.GraphicsPipelineDescriptor descriptor)

Parameter descriptor: The compiled graphics program to distribute without any asset or material metadata.

Deterministic binary bytes owned by the caller.

Exception T:System.ArgumentNullException: The descriptor is null.

Exception T:System.IO.InvalidDataException: A stage, binding, or reflected name exceeds the distribution limits.