Skip to content

Enum ShaderBackend

Namespace: Apogee.Graphics.Shaders
Assembly: Apogee.Graphics.dll

The shader language of a piece of compiled code in a bundle. SPIR-V (Vulkan) and Metal shading language source (Metal) are made; DXIL is reserved so that a bundle can hold every backend of a build.

public enum ShaderBackend : byte

Fields

Dxil = 3

DXIL. Reserved: no backend uses it yet.

Msl = 2

Metal Shading Language source text (the macOS backend), compiled by the Metal driver when the shader is loaded.

Spirv = 1