Vixen
02b45cc4
csharp
public interface ITargetBackend

A code generator for one target language. Backends consume IrModule and nothing else: they never see the bound tree or the syntax tree, so a new target is a new implementation of this and nothing more.

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

Fields and properties (2)

  • string Name

    Identifier used on the command line, e.g. glsl.

  • string FileExtension

    Extension for generated files, including the dot.

Methods (1)

  • IReadOnlyList<GeneratedSource> Generate(IrModule irModule, DiagnosticBag diagnostics)

    Generates one unit per entry point. A backend reports what it cannot express through rather than emitting something that does not compile.

Used by (23)

  • RavenKernelsVixen.Vfx.Gpu.Tests
  • ShaderRunVixen.Raven.Gpu.Tests
  • VfxShaderEmitterTestsVixen.Vfx.Tests
  • VfxSortTestsVixen.Vfx.Gpu.Tests
  • CodeGenTestBaseVixen.Raven.Tests
  • CompileDriverVixen.Raven.Cli
  • CompiledEffectTestsVixen.Raven.Tests
  • ComposeInterfaceTestsVixen.Raven.Tests
  • ComposeTestsVixen.Raven.Tests
  • GlslBackendVixen.Raven
  • GlslBackendTestsVixen.Raven.Tests
  • GoldenGlslTestsVixen.Raven.Tests
  • GoldenSpirvTestsVixen.Raven.Tests
  • LibraryTreeTestsVixen.Raven.Tests
  • RavenEffectCompilerVixen.ShaderCompiler
  • ReadmeExampleTestsVixen.Raven.Tests
  • ShaderGraphCompilerTestsVixen.Editor.ShaderGraph.Tests
  • SharedBindingTestsVixen.Raven.Tests
  • SizedArrayTestsVixen.Raven.Tests
  • SpirvBackendVixen.Raven
  • SpirvBackendTestsVixen.Raven.Tests
  • TargetBackendsVixen.Raven
  • WritableResourceTestsVixen.Raven.Tests