Scripting API

Scripting API

ShaderTarget

Enum in Abyss.Core, from Abyss.Core.

What a game's shaders are compiled for.

public enum ShaderTarget : uint

Values

NameValueDescription
Native0The GPU the editor draws on, as a game built for a desktop is drawn.
WebGl21WebGL2, in a browser, as a game built for the web is drawn where the browser has no WebGPU.
WebGpu2WebGPU, in a browser, as a game built for the web is drawn where the browser has it.