17 lines
301 B
Markdown
17 lines
301 B
Markdown
|
|
# D3D12CommandList::UAVBarrier
|
|||
|
|
|
|||
|
|
```cpp
|
|||
|
|
void UAVBarrier(void* resource = nullptr);
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
添加无序访问视图屏障。
|
|||
|
|
|
|||
|
|
**参数:**
|
|||
|
|
- `resource` - 目标资源指针,nullptr 表示所有 UAV
|
|||
|
|
|
|||
|
|
**复杂度:** O(1)
|
|||
|
|
|
|||
|
|
## 相关文档
|
|||
|
|
|
|||
|
|
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|