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 ShaderKindRemarks
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
| Name | Value | Description |
|---|---|---|
Mesh | 0 | A mesh's surface. |
Ui | 1 | A UI element. |
