- 新增32个方法文档(D3D12Buffer 13个,D3D12Texture 12个,D3D12SwapChain 6个) - 修复11处跨模块引用错误(rhi-device.md, rhi-texture.md等路径错误) - 清理d3d12-overview.md移除不存在的类引用 - 修复D3D12Device/D3D12CommandList/D3D12CommandQueue方法列表 - D3D12模块现无broken links
18 lines
419 B
Markdown
18 lines
419 B
Markdown
# D3D12Texture::InitializeFromExisting
|
||
|
||
从现有的 D3D12 资源初始化纹理。
|
||
|
||
```cpp
|
||
bool InitializeFromExisting(ID3D12Resource* resource, bool ownsResource = false);
|
||
```
|
||
|
||
**参数:**
|
||
- `resource` - 已存在的 D3D12 资源指针
|
||
- `ownsResource` - 是否拥有资源所有权
|
||
|
||
**返回:** `bool` - 初始化成功返回 true,失败返回 false
|
||
|
||
## 相关文档
|
||
|
||
- [D3D12Texture 总览](d3d12-texture.md)
|