docs: update resources API docs

This commit is contained in:
2026-03-20 02:35:35 +08:00
parent fd792b7df1
commit ea756c0177
314 changed files with 9439 additions and 1360 deletions

View File

@@ -0,0 +1,28 @@
# TextureImportSettings::LoadFromJSON
```cpp
bool LoadFromJSON(const Containers::String& json) override;
```
从 JSON 字符串加载导入设置。
**参数:**
- `json` - JSON 格式的设置字符串
**返回:** `bool` - 加载是否成功
**注意:** 当前为 stub 实现,始终返回 `false`
**线程安全:**
**示例:**
```cpp
TextureImportSettings settings;
bool success = settings.LoadFromJSON(R"({"textureType":1,"sRGB":true})");
// 当前实现返回 false
```
## 相关文档
- [TextureImportSettings 总览](textureimportsettings.md) - 返回类总览