Luna::ShaderCompiler::TargetFormat

enum TargetFormat : u8
{
    none= 0
    dxil
    spir_v
    msl
}

The compile target to output.

Options

  • none

    Outputs nothing. This can be used if you only want to validate the input source code.

  • dxil

    [Windows only] Outputs DirectX Intermediate Language for shader model 6.0 and newer.

  • spir_v

    Outputs SPIR-V for Vulkan API.

  • msl

    Outputs Metal Shading Lauguage.