Luna::Image::dds_to_rhi_format
RHI::Format dds_to_rhi_format(Image::DDSFormat format)
Converts DDS image format to RHI format.
Parameters
-
in format
The DDS image format.
Return value
Returns the converted RHI format. Returns RHI::Format::unknown if no RHI format can be mapped to the specified DDS image format.