Luna::RHI::ShaderDataFormat

enum ShaderDataFormat : u8
{
    none= 0
    dxil
    spirv
    msl
    metallib
}

Specify shader data format.

Options

  • none

    No shader data. This must be set if ShaderData::data is empty.

  • dxil

    DirectX intermediate language format. Used only for Direct3D 12 format.

  • spirv

    SPIR-V format. Used only for Vulkan backend.

  • msl

    Metal shading language source form. Used only for Metal backend.

  • metallib

    Metal library. Used only for Metal backend.