Luna::RHI::ShaderDataFormat
enum ShaderDataFormat : u8
{
none= 0
dxil
spirv
msl
metallib
}
Specify shader data format.
Options
-
No shader data. This must be set if ShaderData::data is empty.
-
DirectX intermediate language format. Used only for Direct3D 12 format.
-
SPIR-V format. Used only for Vulkan backend.
-
Metal shading language source form. Used only for Metal backend.
-
Metal library. Used only for Metal backend.