Class stbi_texture_loader¶
Defined in File texture_importers.hpp
Inheritance Relationships¶
Base Type¶
public legion::core::filesystem::resource_converter< texture, texture_import_settings >
(Template Class resource_converter)
Class Documentation¶
-
class
legion::rendering
::
stbi_texture_loader
: public legion::core::filesystem::resource_converter<texture, texture_import_settings>¶ Resource converter for loading textures using stb_image.
Public Functions
-
inline virtual common::result_decay_more<texture, fs_error>
load_default
(const filesystem::basic_resource &resource) override¶
-
virtual common::result_decay_more<texture, fs_error>
load
(const fs::basic_resource &resource, texture_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" }
-
inline virtual common::result_decay_more<texture, fs_error>