- 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
24 lines
407 B
Markdown
24 lines
407 B
Markdown
# D3D12Buffer::SetData
|
|
|
|
## 函数签名
|
|
|
|
```cpp
|
|
void SetData(const void* data, size_t size, size_t offset = 0) override
|
|
```
|
|
|
|
## 中文描述
|
|
|
|
设置缓冲区数据。通过 Map/Unmap 实现。
|
|
|
|
## 参数
|
|
|
|
| 参数 | 类型 | 描述 |
|
|
|------|------|------|
|
|
| `data` | `const void*` | 数据指针 |
|
|
| `size` | `size_t` | 数据大小 |
|
|
| `offset` | `size_t` | 缓冲区内的偏移量 |
|
|
|
|
## 复杂度
|
|
|
|
O(n)
|