Files
XCEngine/docs/api/rhi/opengl/texture/constructors.md
ssdfasd 582ab2c730 docs: 更新多个模块文档
- resources: 更新 audioclip 和 resourcepath 文档
- rhi: 更新 d3d12 和 opengl 文档
2026-03-26 02:02:42 +08:00

29 lines
432 B
Markdown

# OpenGLTexture 构造与析构
## 构造函数
```cpp
OpenGLTexture()
```
创建 OpenGLTexture 对象,初始化内部状态。
**示例:**
```cpp
OpenGLTexture texture;
```
## 析构函数
```cpp
~OpenGLTexture() override
```
销毁 OpenGLTexture 对象,自动调用 `Shutdown()` 释放资源。
## 相关文档
- [OpenGLTexture](texture.md) - 返回类总览
- [Shutdown](../../texture/shutdown.md) - 关闭纹理