Scripting API
Scripting API
ShaderAddress
Class in Abyss.Core, from Abyss.Core.
A shader's key — every one of a game's shaders, and of its packages', has one, as each is packed — which AssetAccess.LoadShader takes: Shaders.Glow, by its path in the shaders folder, a package's after its id.
public sealed class ShaderAddress : AssetKeyConstructors
ShaderAddress
public ShaderAddress(string address, string? id = null)A key for the asset at address, of the identity id.
Parameters
address: What it is loaded by:scenes/moons.scene,fox#Walk.id: Its identity, as its sidecar writes it; null for none, when it is found by its address alone.
Methods
FromId
public static ShaderAddress FromId(AssetGuid id)The key of the shader of the identity id: one saved, made again.
Parameters
id
Exceptions
ArgumentException: The identity is none.
