- 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
23 lines
314 B
Markdown
23 lines
314 B
Markdown
# RHITexture::SetName
|
|
|
|
```cpp
|
|
virtual void SetName(const std::string& name) = 0;
|
|
```
|
|
|
|
设置纹理名称(用于调试)。
|
|
|
|
**参数:**
|
|
- `name` - 新名称
|
|
|
|
**复杂度:** O(1)
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
texture->SetName("DiffuseMap");
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [RHITexture 总览](texture.md) - 返回类总览
|