Files
XCSDD/docs/api/rhi/shader/set-mat4.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- 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
2026-03-19 12:44:08 +08:00

18 lines
311 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# RHIShader::SetMat4
```cpp
virtual void SetMat4(const char* name, const float* value) = 0;
```
设置 4x4 矩阵 uniform。
**参数:**
- `name` - uniform 变量名
- `value` - 矩阵数据指针16 个 float
**复杂度:** O(1)
## 相关文档
- [RHIShader 总览](shader.md) - 返回类总览