Vixen
02b45cc4
csharp
public sealed class SourceFieldSymbol

A val/var field declared in a type body.

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

Fields and properties (22)

  • public VariableDeclarationSyntax Declaration
  • public override string Name
  • public override Symbol? ContainingSymbol
  • public override SyntaxNode DeclaringSyntax
  • public override bool IsPermutation
  • public override bool IsCompose
  • public override bool IsStream
  • public override bool IsGroupShared
  • public override NamedTypeSymbol? ComposedType

    The shader bound to this slot, or null when the field is not a slot or the binding is missing or invalid.

  • public override bool IsConst

    A permutation key is const in every sense that matters downstream: its value is known when the shader is compiled, so folding and dead-branch elimination pick it up without a special case. The only difference from a const field is where the value comes from.

  • public override bool IsStatic
  • public override bool IsReadOnly
  • public override TypeSymbol Type
  • public override string? SemanticName
  • public override object? DeclaredValue
  • public override object? ConstantValue
  • public override ResourceKind ResourceKind
  • public override ResourceSet ResourceSet
  • public override bool IsPushConstant
  • public override bool IsShared
  • public override bool IsMaterialIndex
  • public override ImageFormat? ImageFormat

Used by (2)

  • SemanticModelVixen.Raven
  • SourceNamedTypeSymbolVixen.Raven