Struct stb_image_loader

Inheritance Relationships

Base Type

Struct Documentation

struct legion::core::stb_image_loader : public legion::core::filesystem::resource_converter<image, image_import_settings>

Public Functions

inline virtual common::result_decay_more<image, fs_error> load_default(const filesystem::basic_resource &resource) override
virtual common::result_decay_more<image, fs_error> load(const filesystem::basic_resource &resource, image_import_settings &&settings) override

Public Static Attributes

static constexpr static cstring extensions [] = { "", ".png", ".jpg", ".jpeg", ".jpe", ".jfif", ".jfi", ".jif", ".bmp", ".dib", ".raw", ".psd", ".psb", ".tga", ".icb", ".vda", ".vst", ".hdr", ".ppm", ".pgm" }