# D3D12CommandList::CopyTexture ```cpp void CopyTexture(ID3D12Resource* dst, const D3D12_TEXTURE_COPY_LOCATION& dstLocation, ID3D12Resource* src, const D3D12_TEXTURE_COPY_LOCATION& srcLocation); ``` 复制纹理。 **参数:** - `dst` - 目标纹理 - `dstLocation` - 目标位置 - `src` - 源纹理 - `srcLocation` - 源位置 **复杂度:** O(n) ## 相关文档 - [D3D12CommandList 总览](command-list.md) - 返回类总览