17 lines
265 B
Markdown
17 lines
265 B
Markdown
|
|
# D3D12CommandList::SetStencilRef
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void SetStencilRef(uint32_t stencilRef);
|
||
|
|
```
|
||
|
|
|
||
|
|
设置模板参考值。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `stencilRef` - 模板参考值
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|