Scripting API

Scripting API

CompiledVariant

Record in Abyss.Core, from Abyss.Core.

One compiled variant of a shader, as the world is given it.

public record CompiledVariant

Constructors

CompiledVariant

public CompiledVariant(string Variant, string Artifact)

One compiled variant of a shader, as the world is given it.

Parameters

  • Variant: Its switches, as the engine writes them.
  • Artifact: Its SPIR-V file, its whole path.

Properties

Variant

public string Variant { get; init; }

Its switches, as the engine writes them.

Artifact

public string Artifact { get; init; }

Its SPIR-V file, its whole path.