- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
18 lines
297 B
Markdown
18 lines
297 B
Markdown
# RHIShader::SetVec3
|
|
|
|
```cpp
|
|
virtual void SetVec3(const char* name, float x, float y, float z) = 0;
|
|
```
|
|
|
|
设置三维向量 uniform。
|
|
|
|
**参数:**
|
|
- `name` - uniform 变量名
|
|
- `x, y, z` - 向量分量
|
|
|
|
**复杂度:** O(1)
|
|
|
|
## 相关文档
|
|
|
|
- [RHIShader 总览](shader.md) - 返回类总览
|