Function getFileExtFromResourceFormat

Synopsis

#include <Source/Falcor/Utils/Image/Bitmap.h>

static std::string getFileExtFromResourceFormat(ResourceFormat format)

Description

Get a file extension from a resource format

Source

Lines 391-395 in Source/Falcor/Utils/Image/Bitmap.cpp. Line 110 in Source/Falcor/Utils/Image/Bitmap.h.

std::string Bitmap::getFileExtFromResourceFormat(ResourceFormat format)
{
    auto filters = getFileDialogFilters(format);
    return filters.front().ext;
}





Add Discussion as Guest

Log in to DocsForge