refactor(docs): D3D12模块文档重构 - 修复链接错误并新增Buffer/Texture/SwapChain方法文档
- 新增32个方法文档(D3D12Buffer 13个,D3D12Texture 12个,D3D12SwapChain 6个) - 修复11处跨模块引用错误(rhi-device.md, rhi-texture.md等路径错误) - 清理d3d12-overview.md移除不存在的类引用 - 修复D3D12Device/D3D12CommandList/D3D12CommandQueue方法列表 - D3D12模块现无broken links
This commit is contained in:
17
docs/api/d3d12/d3d12-texture-initialize-from-existing.md
Normal file
17
docs/api/d3d12/d3d12-texture-initialize-from-existing.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# D3D12Texture::InitializeFromExisting
|
||||
|
||||
从现有的 D3D12 资源初始化纹理。
|
||||
|
||||
```cpp
|
||||
bool InitializeFromExisting(ID3D12Resource* resource, bool ownsResource = false);
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `resource` - 已存在的 D3D12 资源指针
|
||||
- `ownsResource` - 是否拥有资源所有权
|
||||
|
||||
**返回:** `bool` - 初始化成功返回 true,失败返回 false
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Texture 总览](d3d12-texture.md)
|
||||
Reference in New Issue
Block a user