Scripting API

Scripting API

Assets

Class in Abyss.Core, from Abyss.Core.

Values shared by every kind of asset id.

public static class Assets

Methods

Describe

public static string Describe(ulong id)

An id as a person reads it — material 3 — rather than the number it is.

Parameters

  • id: Any asset id.

Constants

None

public const ulong None = 0

The id that means "no asset", for a field that may be empty.

Zero, because every id says its kind in its top byte and no kind is zero — so a zeroed MaterialSpec names no textures rather than the first image anybody made.

LargestImage

public const int LargestImage = 8192

The widest and tallest image CreateImage makes: WebGPU's guaranteed limit, which every GPU the engine runs on draws.