fix: improve doc link navigation and tree display
- 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
This commit is contained in:
28
docs/api/rhi/d3d12/buffer/update-data.md
Normal file
28
docs/api/rhi/d3d12/buffer/update-data.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# D3D12Buffer::UpdateData
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
void UpdateData(const void* data, uint64_t size)
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
更新缓冲区数据。要求缓冲区使用 UPLOAD 堆类型,否则行为未定义。
|
||||
|
||||
## 参数
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
|------|------|------|
|
||||
| `data` | `const void*` | 新数据指针 |
|
||||
| `size` | `uint64_t` | 数据大小 |
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(n)
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
uploadBuffer.UpdateData(newData, dataSize);
|
||||
```
|
||||
Reference in New Issue
Block a user