Files
XCEngine/docs/api/rhi/texture/get-name.md
2026-03-20 02:35:45 +08:00

422 B

RHITexture::GetName

virtual const std::string& GetName() const = 0;

获取纹理名称(用于调试)。

参数:

返回: 纹理名称字符串引用

线程安全:

复杂度: O(1)

示例:

const std::string& name = texture->GetName();

相关文档