Luna::Image::rhi_to_dds_format

DDSFormat rhi_to_dds_format(RHI::Format format)

Converts RHI format to DDS image format.

Parameters

  • in format

    The RHI format.

Return value

Returns the converted DDS format. Returns DDSFormat::unknown if no DDS image format can be mapped to the specified RHI format.