- 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
40 lines
1.8 KiB
Markdown
40 lines
1.8 KiB
Markdown
# OpenGLTexture
|
|
|
|
**命名空间**: `XCEngine::RHI`
|
|
|
|
**描述**: OpenGL 纹理的实现,继承自 `RHITexture`。
|
|
|
|
## 公共方法
|
|
|
|
| 方法 | 描述 |
|
|
|------|------|
|
|
| [`Initialize`](initialize-2d.md) | 初始化 2D 纹理 |
|
|
| [`Initialize2D`](initialize-2d.md) | 初始化 2D 纹理 |
|
|
| [`InitializeCubeMap`](initialize-cube-map.md) | 初始化立方体贴图 |
|
|
| [`LoadFromFile`](load-from-file.md) | 从文件加载纹理 |
|
|
| [`Shutdown`](../../../threading/task-system/shutdown.md) | 关闭纹理 |
|
|
| [`Bind`](bind-image.md) | 绑定纹理 |
|
|
| [`Unbind`](../../shader/unbind.md) | 解绑纹理 |
|
|
| [`BindImage`](bind-image.md) | 绑定图像 |
|
|
| [`GenerateMipmap`](generate-mipmap.md) | 生成多级渐远纹理 |
|
|
| [`SetFiltering`](set-filtering.md) | 设置过滤模式 |
|
|
| [`SetWrapping`](set-wrapping.md) | 设置环绕模式 |
|
|
| [`GetID`](get-id.md) | 获取 OpenGL 纹理 ID |
|
|
| [`GetOpenGLType`](get-opengl-type.md) | 获取 OpenGL 纹理类型 |
|
|
| [`GetWidth`](../../texture/get-width.md) | 获取纹理宽度 |
|
|
| [`GetHeight`](../../texture/get-height.md) | 获取纹理高度 |
|
|
| [`GetDepth`](../../texture/get-depth.md) | 获取纹理深度 |
|
|
| [`GetMipLevels`](../../texture/get-mip-levels.md) | 获取 Mip 级别 |
|
|
| [`GetTextureType`](../../texture/get-texture-type.md) | 获取纹理类型 |
|
|
| [`GetNativeHandle`](../../buffer/get-native-handle.md) | 获取原生句柄 |
|
|
| [`GetState`](../../buffer/get-state.md) | 获取资源状态 |
|
|
| [`SetState`](../../buffer/set-state.md) | 设置资源状态 |
|
|
| [`GetName`](../../buffer/get-name.md) | 获取资源名称 |
|
|
| [`SetName`](../../buffer/set-name.md) | 设置资源名称 |
|
|
| [`GetFormat`](../../texture/get-format.md) | 获取纹理格式 |
|
|
|
|
## 相关文档
|
|
|
|
- [OpenGL 后端总览](../overview.md)
|
|
- [RHITexture](../../texture/texture.md) - 抽象纹理接口
|