Luna::Image::is_valid

bool is_valid(DDSFormat fmt)

Checks whether one DDSFormat is a valid format for DDS files.

Parameters

  • in fmt

    The format to check.

Return value

Returns true if the format is valid, returns false otherwise.