- 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
26 lines
605 B
Markdown
26 lines
605 B
Markdown
# IResourceLoader::GetSupportedExtensions
|
||
|
||
```cpp
|
||
Containers::Array<Containers::String> GetSupportedExtensions() const
|
||
```
|
||
|
||
获取此加载器支持的文件扩展名列表。用于 `CanLoad` 判断和编辑器中资源类型识别。
|
||
|
||
**参数:** 无
|
||
|
||
**返回:** 支持的扩展名数组(如 `{".png", ".jpg", ".bmp"}`)
|
||
|
||
**复杂度:** O(1)
|
||
|
||
**示例:**
|
||
|
||
```cpp
|
||
Containers::Array<Containers::String> TextureLoader::GetSupportedExtensions() const {
|
||
return {".png", ".jpg", ".jpeg", ".bmp", ".tga", ".dds"};
|
||
}
|
||
```
|
||
|
||
## 相关文档
|
||
|
||
- [IResourceLoader 总览](iloader.md) - 返回类总览
|