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