Vixen
dd8b0a81
csharp
public record class LibraryIrTypeReference

A type in the lowered IR.

Read the guide page for this →

Remarks

Shares IrTypeKind with the IR itself rather than restating it, because the IR's type set is already the closed one every target can represent — a second enum would only be able to drift from it.

Fields and properties (11)

  • public IrTypeKind Kind
  • public IrTypeKind Component

    The scalar each lane holds, for a vector or a matrix.

  • public int Size

    Lane count of a vector.

  • public int Rows
  • public int Columns
  • public int? Length

    Array length, absent for an unsized array.

  • public LibraryIrTypeReference? Element

    Element type of an array.

  • public string? Struct

    Key of the struct, for Struct.

  • public IrTextureDimension Dimension
  • public LibraryIrTypeReference? Sampled

    What a sample of a texture, or a load of a storage image, returns.

  • public string? Format

    The texel format, for StorageImage.

Used by (7)

  • IrVerifierTestsVixen.Raven.Tests
  • LibraryIrDecoderVixen.Raven
  • LibraryIrEncoderVixen.Raven
  • LibraryIrFieldVixen.Raven
  • LibraryIrFunctionVixen.Raven
  • LibraryIrValueVixen.Raven
  • LibraryIrVariableVixen.Raven