Scripting API

Scripting API

ShaderKind

Enum in Abyss.Core, from Abyss.Core.

What a shader draws: a mesh's surface, or a UI element.

public enum ShaderKind

Remarks

The two take different inputs — Bevy's VertexOutput and its UiVertexOutput — so a shader of one drawn as the other draws magenta. A shader is a UI element's where it imports bevy_ui::ui_vertex_output; see ShaderKinds.Of.

Values

NameValueDescription
Mesh0A mesh's surface.
Ui1A UI element.