docs: update RHI API docs
This commit is contained in:
@@ -4,10 +4,14 @@
|
||||
void Bind(unsigned int unit);
|
||||
```
|
||||
|
||||
绑定采样器到纹理单元。
|
||||
绑定采样器到指定纹理单元。调用 `glBindSampler` 将采样器对象绑定到对应的纹理单元,后续纹理采样操作将使用该采样器。
|
||||
|
||||
**参数:**
|
||||
- `unit` - 纹理单元编号
|
||||
- `unit` - 纹理单元编号,通常为 0-15
|
||||
|
||||
**返回:** 无
|
||||
|
||||
**线程安全:** ❌
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user