- 修复 texture/dtor.md 和 enums/enums.md 的错误链接 - 重命名 texture/ctor.md → constructor.md, texture/dtor.md → destructor.md - 创建 command-list, fence, device, query-heap, sampler 的 constructor/destructor 文档 - 创建 D3D12Texture 缺失的 16 个方法文档 - 创建 D3D12CommandList 缺失的 12 个 internal 方法文档 - 补充 shader-resource-view 缺少的头文件和类型字段
39 lines
1.8 KiB
Markdown
39 lines
1.8 KiB
Markdown
# D3D12Texture
|
|
|
|
**命名空间**: `XCEngine::RHI`
|
|
|
|
**描述**: DirectX 12 纹理的 D3D12 实现,继承自 `RHITexture`。
|
|
|
|
## 公共方法
|
|
|
|
| 方法 | 描述 |
|
|
|------|------|
|
|
| [`D3D12Texture`](constructor.md) | 默认构造函数 |
|
|
| [`~D3D12Texture`](destructor.md) | 析构函数 |
|
|
| [`Initialize`](initialize.md) | 初始化纹理 |
|
|
| [`InitializeFromExisting`](initialize-from-existing.md) | 从现有资源初始化 |
|
|
| [`InitializeFromData`](initialize-from-data.md) | 从数据初始化纹理 |
|
|
| [`InitializeDepthStencil`](initialize-depth-stencil.md) | 初始化深度模板纹理 |
|
|
| [`Shutdown`](../../texture/shutdown.md) | 关闭纹理 |
|
|
| [`GetResource`](../buffer/get-resource.md) | 获取 D3D12 资源 |
|
|
| [`GetDesc`](../buffer/get-desc.md) | 获取纹理描述符 |
|
|
| [`GetWidth`](../../texture/get-width.md) | 获取纹理宽度 |
|
|
| [`GetHeight`](../../texture/get-height.md) | 获取纹理高度 |
|
|
| [`GetDepth`](../../texture/get-depth.md) | 获取纹理深度 |
|
|
| [`GetMipLevels`](../../texture/get-mip-levels.md) | 获取 Mip 级别 |
|
|
| [`GetArraySize`](get-array-size.md) | 获取数组大小 |
|
|
| [`GetGPUAddress`](../buffer/get-gpu-address.md) | 获取 GPU 地址 |
|
|
| [`GetSize`](get-size.md) | 获取纹理大小 |
|
|
| [`GetName`](../../texture/get-name.md) | 获取纹理名称 |
|
|
| [`SetName`](../../texture/set-name.md) | 设置纹理名称 |
|
|
| [`GetFormat`](../../texture/get-format.md) | 获取纹理格式 |
|
|
| [`GetTextureType`](../../texture/get-texture-type.md) | 获取纹理类型 |
|
|
| [`GetState`](../../texture/get-state.md) | 获取资源状态 |
|
|
| [`SetState`](../../texture/set-state.md) | 设置资源状态 |
|
|
| [`GetNativeHandle`](../../texture/get-native-handle.md) | 获取原生句柄 |
|
|
|
|
## 相关文档
|
|
|
|
- [D3D12 后端概览](../d3d12.md)
|
|
- [RHITexture](../../texture/texture.md) - 抽象纹理接口
|