Scripting API

Scripting API

ShaderKinds

Class in Abyss.Core, from Abyss.Core.

What a shader's text says it draws, read as the engine reads it.

public static class ShaderKinds

Methods

Of

public static ShaderKind Of(string source)

What the shader source draws: a UI element where it imports ShaderKinds.UiInput outside a comment, a mesh otherwise.

Parameters

  • source

Constants

UiInput

public const string UiInput = "bevy_ui_render::ui_vertex_output"

What a UI element's shader imports, and a mesh's does not.