docs: update RHI API docs
This commit is contained in:
@@ -6,10 +6,20 @@ virtual Format GetFormat() const = 0;
|
||||
|
||||
获取纹理格式。
|
||||
|
||||
**参数:** 无
|
||||
|
||||
**返回:** 纹理格式枚举值
|
||||
|
||||
**线程安全:** ✅
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Format format = texture->GetFormat();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [RHITexture 总览](texture.md) - 返回类总览
|
||||
|
||||
Reference in New Issue
Block a user