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,14 @@
void Bind(unsigned int unit);
```
绑定采样器到纹理单元。
绑定采样器到指定纹理单元。调用 `glBindSampler` 将采样器对象绑定到对应的纹理单元,后续纹理采样操作将使用该采样器。
**参数:**
- `unit` - 纹理单元编号
- `unit` - 纹理单元编号,通常为 0-15
**返回:**
**线程安全:**
**复杂度:** O(1)