Vixen
02b45cc4
csharp
public record class LibraryIr

The lowered half of a CompiledLibrary: the structs and functions a consumer links against.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A mirror of IrModule minus its shaders. A library exports functions and types; a pipeline stage belongs to the effect that declares it, so a library's entry points, bindings and permutation declarations are deliberately absent — see LibraryDiagnostics.EntryPointNotExported.

Cross-references travel as names and indices rather than as objects: a call names its callee, a struct-typed field names the struct, and a place names its root variable by position. That is what lets the reader rebuild a graph with cycles in it — two structs may hold each other, and a function may be called before it is read.

Fields and properties (2)

Used by (4)

  • CompiledLibraryVixen.Raven
  • CompiledLibraryTestsVixen.Raven.Tests
  • LibraryIrDecoderVixen.Raven
  • LibraryIrEncoderVixen.Raven