Files
XCSDD/docs/api/resources/iloader/getsupportedextensions.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

605 B
Raw Blame History

IResourceLoader::GetSupportedExtensions

Containers::Array<Containers::String> GetSupportedExtensions() const

获取此加载器支持的文件扩展名列表。用于 CanLoad 判断和编辑器中资源类型识别。

参数:

返回: 支持的扩展名数组(如 {".png", ".jpg", ".bmp"}

复杂度: O(1)

示例:

Containers::Array<Containers::String> TextureLoader::GetSupportedExtensions() const {
    return {".png", ".jpg", ".jpeg", ".bmp", ".tga", ".dds"};
}

相关文档