docs: rebuild Rendering API content

This commit is contained in:
2026-03-26 21:32:43 +08:00
parent f6286d432c
commit 5c8042775c
81 changed files with 2350 additions and 27 deletions

View File

@@ -0,0 +1,17 @@
# MeshRendererComponent::GetMaterialCount
获取当前材质槽数量。
```cpp
size_t GetMaterialCount() const;
```
## 返回值
- 当前 `m_materials.size()`
## 相关文档
- [返回类型总览](MeshRendererComponent.md)
- [SetMaterial](SetMaterial.md)
- [SetMaterials](SetMaterials.md)