docs: update RHI API docs

This commit is contained in:
2026-03-20 02:35:45 +08:00
parent ea756c0177
commit 070b444f8f
501 changed files with 13493 additions and 2022 deletions

View File

@@ -4,10 +4,18 @@
virtual void SetBlendFactor(const float factor[4]) = 0;
```
设置混合因子。
设置混合因子数组。当混合函数使用可编程混合因子时,使用此方法设置 RGBA 四个通道的混合因子
**参数:**
- `factor` - 混合因子数组 [r, g, b, a]
- `factor` - 4 元素浮点数数组,表示 RGBA 混合因子(范围 0.0-1.0
**返回:** `void`
**异常:**
**线程安全:**
**复杂度:** O(1)
**示例:**
@@ -19,3 +27,4 @@ cmdList->SetBlendFactor(factor);
## 相关文档
- [RHICommandList 总览](command-list.md) - 返回类总览
- [SetBlendState](set-blend-state.md) - 设置混合状态